home *** CD-ROM | disk | FTP | other *** search
Unknown | 1992-12-19 | 24.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Wanton Packer Module (music/wantonPacker)
| ext
| Supported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 01 | 04 00 60 04 04 00 5f ad |........|..`..._.|
|00000010| 04 00 11 70 04 00 0a ab | 04 00 11 78 00 04 77 8c |...p....|...x..w.|
|00000020| 00 04 77 88 00 04 77 84 | 00 04 77 94 00 04 77 90 |..w...w.|..w...w.|
|00000030| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 00 |........|........|
|00000040| 09 00 00 00 00 00 00 ff | 00 00 00 00 01 00 fa 2b |........|.......+|
|00000050| 00 04 fc 8d 02 1c 00 00 | 07 50 00 1d f9 98 00 34 |........|.P.....4|
|00000060| fc 20 01 e5 00 2b 00 00 | 00 00 ff 00 00 24 00 00 |. ...+..|.....$..|
|00000070| 00 24 00 00 00 ff 01 01 | 02 1c 00 00 00 48 00 48 |.$......|.....H.H|
|00000080| 00 01 00 18 03 18 02 1c | 00 00 00 00 03 18 02 64 |........|.......d|
|00000090| 00 64 00 04 19 00 04 00 | 5d e7 00 1b fc 63 00 9b |.d......|]....c..|
|000000a0| 00 2b 04 00 5d e7 00 1b | fc 63 00 9b 00 2b 00 77 |.+..]...|.c...+.w|
|000000b0| 00 00 13 a8 00 00 00 00 | ff 00 00 00 00 00 00 00 |........|........|
|000000c0| 60 c6 00 00 60 c6 00 00 | 60 c6 00 00 91 96 00 00 |`...`...|`.......|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 04 00 5e eb | 04 00 5f ad 04 00 11 70 |......^.|.._....p|
|00000110| 04 00 0a ab 04 00 11 78 | 00 1e 2c 90 00 1e 2c 8c |.......x|..,...,.|
|00000120| 00 1e 2c a8 00 1e 2c 94 | 00 1e 2c a4 00 00 00 00 |..,...,.|..,.....|
|00000130| 00 00 00 00 00 04 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00000140| 00 00 00 ff ff 00 00 00 | 01 00 f9 3e 00 04 fb 9f |........|...>....|
|00000150| 02 1c 00 00 07 50 00 1d | fc 15 00 1d fe ba 01 fd |.....P..|........|
|00000160| 00 2b 00 00 00 00 ff 00 | 00 24 00 00 00 24 00 00 |.+......|.$...$..|
|00000170| 00 ff 01 01 02 1c 00 00 | 00 48 00 48 00 01 00 18 |........|.H.H....|
|00000180| 03 18 02 1c 00 00 00 00 | 03 18 02 64 00 64 00 04 |........|...d.d..|
|00000190| 19 00 04 00 5d b1 00 1d | f8 f3 00 1d 02 aa 04 00 |....]...|........|
|000001a0| 5d b1 00 1d f8 f3 00 1d | 02 aa fc 71 00 00 12 b0 |].......|...q....|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 5f cd 00 00 |........|...._...|
|000001c0| 5f cd 00 00 5f cd 00 00 | 91 96 00 00 00 00 00 00 |_..._...|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 04 0d 0d 0d 0d 00 04 | 0d 0d 0d 0d 00 14 0d 30 |........|.......0|
|00000210| 2d fd 00 f7 20 20 20 fd | 01 f7 20 20 20 fd 02 f7 |-... .|.. ...|
|00000220| 0d 0d 02 39 41 20 73 65 | 63 6f 6e 64 20 72 65 61 |...9A se|cond rea|
|00000230| 73 6f 6e 20 66 6f 72 20 | 63 72 65 61 74 69 6e 67 |son for |creating|
|00000240| 20 61 20 62 6f 6f 6b 20 | 77 61 73 20 74 68 65 20 | a book |was the |
|00000250| 72 65 61 6c 69 7a 61 74 | 69 6f 6e 20 74 68 61 74 |realizat|ion that|
|00000260| 20 77 68 69 6c 65 20 74 | 68 65 72 65 20 61 72 65 | while t|here are|
|00000270| 20 6f 6e 6c 79 20 61 20 | 66 65 77 20 73 69 6d 70 | only a |few simp|
|00000280| 6c 65 20 63 6f 6e 63 65 | 70 74 73 20 6e 65 65 64 |le conce|pts need|
|00000290| 65 64 20 74 6f 20 63 72 | 65 61 74 65 20 4e 65 78 |ed to cr|eate Nex|
|000002a0| 74 53 74 65 70 20 61 70 | 70 6c 69 63 61 74 69 6f |tStep ap|plicatio|
|000002b0| 6e 73 2c 20 74 68 65 72 | 65 20 77 61 73 20 6c 69 |ns, ther|e was li|
|000002c0| 74 74 6c 65 20 6d 61 74 | 65 72 69 61 6c 20 6f 6e |ttle mat|erial on|
|000002d0| 20 6f 62 6a 65 63 74 20 | 62 61 73 65 64 20 63 6f | object |based co|
|000002e0| 6d 70 75 74 69 6e 67 20 | 74 61 72 67 65 74 65 64 |mputing |targeted|
|000002f0| 20 61 74 20 6e 6f 6e 2d | 74 65 63 68 6e 69 63 61 | at non-|technica|
|00000300| 6c 20 70 65 6f 70 6c 65 | 2e 20 54 68 65 72 65 20 |l people|. There |
|00000310| 77 61 73 20 61 20 67 72 | 65 61 74 20 64 65 61 6c |was a gr|eat deal|
|00000320| 20 6f 66 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | of info|rmation |
|00000330| 66 6f 72 20 67 72 61 64 | 75 61 74 65 20 73 74 75 |for grad|uate stu|
|00000340| 64 65 6e 74 73 20 77 68 | 6f 20 63 6f 75 6c 64 20 |dents wh|o could |
|00000350| 73 70 65 6e 64 20 68 6f | 75 72 73 20 69 6e 20 61 |spend ho|urs in a|
|00000360| 20 6c 69 62 72 61 72 79 | 20 64 6f 69 6e 67 20 6c | library| doing l|
|00000370| 69 74 65 72 61 74 75 72 | 65 20 73 65 61 72 63 68 |iteratur|e search|
|00000380| 65 73 2c 20 62 75 74 20 | 65 61 63 68 20 74 65 78 |es, but |each tex|
|00000390| 74 62 6f 6f 6b 20 6f 72 | 20 61 72 74 69 63 6c 65 |tbook or| article|
|000003a0| 20 68 61 64 20 61 20 6c | 61 72 67 65 20 6e 75 6d | had a l|arge num|
|000003b0| 62 65 72 20 6f 66 20 61 | 73 73 75 6d 70 74 69 6f |ber of a|ssumptio|
|000003c0| 6e 73 20 61 73 20 74 6f | 20 77 68 61 74 20 62 61 |ns as to| what ba|
|000003d0| 63 6b 67 72 6f 75 6e 64 | 20 74 68 65 20 72 65 61 |ckground| the rea|
|000003e0| 64 65 72 20 68 61 64 2e | 20 20 49 64 65 61 6c 6c |der had.| Ideall|
|000003f0| 79 2c 20 61 20 62 6f 6f | 6b 20 6f 6e 20 6f 62 6a |y, a boo|k on obj|
|00000400| 65 63 74 20 62 61 73 65 | 64 20 63 6f 6d 70 75 74 |ect base|d comput|
|00000410| 69 6e 67 20 73 68 6f 75 | 6c 64 20 6d 69 6e 69 6d |ing shou|ld minim|
|00000420| 69 7a 65 20 74 68 65 73 | 65 20 61 73 73 75 6d 70 |ize thes|e assump|
|00000430| 74 69 6f 6e 73 20 69 66 | 20 69 74 20 69 73 20 74 |tions if| it is t|
|00000440| 6f 20 72 65 61 63 68 20 | 74 68 65 20 77 69 64 65 |o reach |the wide|
|00000450| 73 74 20 61 75 64 69 65 | 6e 63 65 2e 0d 00 25 0d |st audie|nce...%.|
|00000460| 0d 0d fb 00 00 00 01 01 | f0 0e 01 e0 57 4e 47 72 |........|....WNGr|
|00000470| 61 70 68 69 63 2e 31 39 | 31 34 32 36 2e 65 70 73 |aphic.19|1426.eps|
|00000480| f7 0d 0d 0d 00 89 ff 00 | 15 09 00 f7 f9 03 f7 fd |........|........|
|00000490| 03 f7 f9 00 f7 ff 00 15 | 0a 00 f7 53 68 6f 73 68 |........|...Shosh|
|000004a0| 61 6e 61 20 5a 75 62 6f | 66 66 2c 20 ff 00 15 0a |ana Zubo|ff, ....|
|000004b0| 02 f7 49 6e 20 74 68 65 | 20 41 67 65 20 6f 66 20 |..In the| Age of |
|000004c0| 74 68 65 20 53 6d 61 72 | 74 20 4d 61 63 68 69 6e |the Smar|t Machin|
|000004d0| 65 3a 20 54 68 65 20 46 | 75 74 75 72 65 20 6f 66 |e: The F|uture of|
|000004e0| 20 57 6f 72 6b 20 61 6e | 64 20 50 6f 77 65 72 ff | Work an|d Power.|
|000004f0| 00 15 0a 00 f7 20 28 42 | 61 73 69 63 20 42 6f 6f |..... (B|asic Boo|
|00000500| 6b 73 20 49 6e 63 2e 2c | 20 31 39 38 38 29 0d 02 |ks Inc.,| 1988)..|
|00000510| 3b 0d 54 68 65 20 6d 6f | 72 65 20 49 20 72 65 61 |;.The mo|re I rea|
|00000520| 64 2c 20 74 68 65 20 6d | 6f 72 65 20 49 20 73 74 |d, the m|ore I st|
|00000530| 61 72 74 65 64 20 74 6f | 20 72 65 61 6c 69 7a 65 |arted to| realize|
|00000540| 20 74 68 61 74 20 49 20 | 77 61 73 20 6f 6e 20 74 | that I |was on t|
|00000550| 6f 20 73 6f 6d 65 74 68 | 69 6e 67 20 72 65 61 6c |o someth|ing real|
|00000560| 6c 79 20 62 69 67 2e 20 | 42 75 74 20 74 68 65 20 |ly big. |But the |
|00000570| 69 64 65 61 73 20 63 61 | 6d 65 20 66 72 6f 6d 20 |ideas ca|me from |
|00000580| 64 69 76 65 72 73 65 20 | 73 6f 75 72 63 65 73 20 |diverse |sources |
|00000590| 61 6e 64 20 49 20 77 61 | 73 20 68 61 76 69 6e 67 |and I wa|s having|
|000005a0| 20 61 20 68 61 72 64 20 | 74 69 6d 65 20 70 75 74 | a hard |time put|
|000005b0| 74 69 6e 67 20 61 6c 6c | 20 6d 79 20 74 68 6f 75 |ting all| my thou|
|000005c0| 67 68 74 73 20 69 6e 74 | 6f 20 61 20 63 6c 65 61 |ghts int|o a clea|
|000005d0| 72 20 70 72 65 73 65 6e | 74 61 74 69 6f 6e 73 20 |r presen|tations |
|000005e0| 49 20 63 6f 75 6c 64 20 | 67 69 76 65 20 74 6f 20 |I could |give to |
|000005f0| 66 61 63 75 6c 74 79 20 | 61 74 20 61 20 73 6d 61 |faculty |at a sma|
|00000600| 6c 6c 20 63 6f 6c 6c 65 | 67 65 2e 20 49 20 77 61 |ll colle|ge. I wa|
|00000610| 73 20 61 6c 73 6f 20 62 | 65 69 6e 67 20 61 73 6b |s also b|eing ask|
|00000620| 65 64 20 74 6f 20 61 74 | 74 65 6d 70 74 20 74 6f |ed to at|tempt to|
|00000630| 20 65 78 70 6c 61 69 6e | 20 74 68 65 73 65 20 63 | explain| these c|
|00000640| 6f 6e 63 65 70 74 73 20 | 74 6f 20 67 72 6f 75 70 |oncepts |to group|
|00000650| 73 20 6f 66 20 4d 49 53 | 20 4d 61 6e 61 67 65 72 |s of MIS| Manager|
|00000660| 73 20 61 74 20 66 6f 72 | 74 75 6e 65 20 35 30 30 |s at for|tune 500|
|00000670| 20 63 6f 6d 70 61 6e 69 | 65 73 20 77 68 6f 20 63 | compani|es who c|
|00000680| 6f 75 6c 64 6e 27 74 20 | 73 70 61 72 65 20 6d 6f |ouldn't |spare mo|
|00000690| 72 65 20 74 68 65 6e 20 | 61 6e 20 68 6f 75 72 20 |re then |an hour |
|000006a0| 66 72 6f 6d 20 74 68 65 | 69 72 20 62 75 73 79 20 |from the|ir busy |
|000006b0| 73 63 68 65 64 75 6c 65 | 73 2e 20 49 20 72 65 61 |schedule|s. I rea|
|000006c0| 73 6f 6e 65 64 20 74 68 | 61 74 20 63 72 65 61 74 |soned th|at creat|
|000006d0| 69 6e 67 20 61 20 62 6f | 6f 6b 20 77 6f 75 6c 64 |ing a bo|ok would|
|000006e0| 20 68 65 6c 70 20 6d 65 | 20 63 6c 61 72 69 66 79 | help me| clarify|
|000006f0| 20 6d 79 20 74 68 6f 75 | 67 68 74 73 20 61 6e 64 | my thou|ghts and|
|00000700| 20 61 6c 6c 6f 77 20 6d | 65 20 74 6f 20 63 6f 6e | allow m|e to con|
|00000710| 64 65 6e 73 65 20 74 68 | 65 20 65 73 73 65 6e 74 |dense th|e essent|
|00000720| 69 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ial info|rmation |
|00000730| 69 6e 74 6f 20 61 20 73 | 68 6f 72 74 20 70 72 65 |into a s|hort pre|
|00000740| 73 65 6e 74 61 74 69 6f | 6e 2e 0d 0d 03 5d 0d 41 |sentatio|n....].A|
|00000750| 20 74 68 69 72 64 20 72 | 65 61 73 6f 6e 20 77 61 | third r|eason wa|
|00000760| 73 20 74 6f 20 67 69 76 | 65 20 70 65 6f 70 6c 65 |s to giv|e people|
|00000770| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00000780| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 74 6f 20 67 | backgro|und to g|
|00000790| 65 74 20 67 72 65 61 74 | 65 72 20 76 61 6c 75 65 |et great|er value|
|000007a0| 20 66 72 6f 6d 20 61 64 | 76 61 6e 63 65 64 20 63 | from ad|vanced c|
|000007b0| 6c 61 73 73 65 73 20 73 | 75 63 68 20 61 73 20 4e |lasses s|uch as N|
|000007c0| 65 58 54 20 64 65 76 65 | 6c 6f 70 65 72 73 20 63 |eXT deve|lopers c|
|000007d0| 6c 61 73 73 2e 20 20 4d | 61 6e 79 20 6f 66 20 74 |lass. M|any of t|
|000007e0| 68 65 73 65 20 63 6c 61 | 73 73 65 73 20 61 73 73 |hese cla|sses ass|
|000007f0| 75 6d 65 20 70 65 6f 70 | 6c 65 20 68 61 76 65 20 |ume peop|le have |
|00000800| 61 6e 20 75 6e 64 65 72 | 73 74 61 6e 64 69 6e 67 |an under|standing|
|00000810| 20 6f 66 20 6f 62 6a 65 | 63 74 20 6f 72 69 65 6e | of obje|ct orien|
|00000820| 74 65 64 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |ted prog|ramming |
|00000830| 61 6e 64 20 65 76 65 6e | 74 20 62 61 73 65 64 20 |and even|t based |
|00000840| 70 72 6f 67 72 61 6d 6d | 69 6e 67 2e 20 20 54 68 |programm|ing. Th|
|00000850| 69 73 20 62 6f 6f 6b 20 | 61 74 74 65 6d 70 74 73 |is book |attempts|
|00000860| 20 74 6f 20 69 6e 74 72 | 6f 64 75 63 65 20 74 68 | to intr|oduce th|
|00000870| 65 73 65 20 63 6f 6e 63 | 65 70 74 73 20 74 6f 20 |ese conc|epts to |
|00000880| 70 65 6f 70 6c 65 20 77 | 68 6f 20 68 61 76 65 20 |people w|ho have |
|00000890| 61 20 6d 69 6e 69 6d 75 | 6d 20 70 72 6f 67 72 61 |a minimu|m progra|
|000008a0| 6d 6d 69 6e 67 20 62 61 | 63 6b 67 72 6f 75 6e 64 |mming ba|ckground|
|000008b0| 2e 0d 0d 4f 6e 65 20 6f | 66 20 74 68 65 20 6d 6f |...One o|f the mo|
|000008c0| 73 74 20 65 78 63 69 74 | 69 6e 67 20 61 73 70 65 |st excit|ing aspe|
|000008d0| 63 74 73 20 6f 66 20 74 | 68 69 73 20 62 6f 6f 6b |cts of t|his book|
|000008e0| 20 69 73 20 74 68 65 20 | 66 61 63 74 20 74 68 61 | is the |fact tha|
|000008f0| 74 20 4e 65 58 54 20 75 | 73 65 72 73 20 77 69 6c |t NeXT u|sers wil|
|00000900| 6c 20 61 63 74 75 61 6c | 6c 79 20 68 61 76 65 20 |l actual|ly have |
|00000910| 74 68 65 20 61 62 69 6c | 69 74 79 20 74 6f 20 63 |the abil|ity to c|
|00000920| 72 65 61 74 65 20 61 6e | 64 20 69 6e 74 65 67 72 |reate an|d integr|
|00000930| 61 74 65 20 70 6f 77 65 | 72 66 75 6c 20 61 6e 64 |ate powe|rful and|
|00000940| 20 75 73 65 66 75 6c 20 | 61 70 70 6c 69 63 61 74 | useful |applicat|
|00000950| 69 6f 6e 73 20 77 69 74 | 68 20 74 68 65 20 6d 61 |ions wit|h the ma|
|00000960| 74 65 72 69 61 6c 20 69 | 6e 20 74 68 69 73 20 62 |terial i|n this b|
|00000970| 6f 6f 6b 2e 20 20 4d 6f | 73 74 20 6f 66 20 74 68 |ook. Mo|st of th|
|00000980| 65 20 69 6e 74 72 6f 64 | 75 63 74 6f 72 79 20 70 |e introd|uctory p|
|00000990| 72 6f 67 72 61 6d 73 20 | 61 72 65 20 6c 65 73 73 |rograms |are less|
|000009a0| 20 74 68 65 6e 20 61 20 | 64 6f 7a 65 6e 20 6c 69 | then a |dozen li|
|000009b0| 6e 65 73 20 6c 6f 6e 67 | 2c 20 61 6e 64 20 65 61 |nes long|, and ea|
|000009c0| 63 68 20 63 68 61 70 74 | 65 72 20 69 6e 74 72 6f |ch chapt|er intro|
|000009d0| 64 75 63 65 73 20 66 65 | 77 20 6e 65 77 20 63 6f |duces fe|w new co|
|000009e0| 6e 63 65 70 74 73 20 61 | 74 20 6f 6e 65 20 74 69 |ncepts a|t one ti|
|000009f0| 6d 65 2e 20 20 54 68 65 | 20 63 6f 6f 6b 62 6f 6f |me. The| cookboo|
|00000a00| 6b 20 72 65 63 69 70 65 | 73 20 68 61 76 65 20 62 |k recipe|s have b|
|00000a10| 65 65 6e 20 63 68 6f 73 | 65 6e 20 74 6f 20 62 75 |een chos|en to bu|
|00000a20| 69 6c 64 20 74 68 65 20 | 72 65 61 64 65 72 73 20 |ild the |readers |
|00000a30| 76 6f 63 61 62 75 6c 61 | 72 79 20 61 6e 64 20 67 |vocabula|ry and g|
|00000a40| 69 76 65 20 69 64 65 61 | 73 20 6f 66 20 68 6f 77 |ive idea|s of how|
|00000a50| 20 74 68 65 69 72 20 6f | 62 6a 65 63 74 73 20 69 | their o|bjects i|
|00000a60| 6e 66 6c 75 65 6e 63 65 | 20 74 68 65 20 77 61 79 |nfluence| the way|
|00000a70| 20 74 68 65 79 20 63 72 | 65 61 74 65 20 6d 65 6e | they cr|eate men|
|00000a80| 74 61 6c 20 61 62 73 74 | 72 61 63 74 69 6f 6e 73 |tal abst|ractions|
|00000a90| 20 6f 66 20 74 68 65 20 | 77 6f 72 6c 64 20 61 72 | of the |world ar|
|00000aa0| 6f 75 6e 64 20 74 68 65 | 6d 2e 0d 00 06 00 08 00 |ound the|m.......|
|00000ab0| 00 00 01 00 54 ff 00 15 | 08 01 f7 0d 0d 4f 62 6a |....T...|.....Obj|
|00000ac0| 65 63 74 20 42 61 73 65 | 64 20 43 6f 6d 70 75 74 |ect Base|d Comput|
|00000ad0| 69 6e 67 3a 20 41 20 4e | 65 78 74 53 74 65 70 20 |ing: A N|extStep |
|00000ae0| 54 75 74 6f 72 69 61 6c | 20 61 6e 64 20 43 6f 6f |Tutorial| and Coo|
|00000af0| 6b 62 6f 6f 6b 20 28 56 | 65 72 73 69 6f 6e 20 31 |kbook (V|ersion 1|
|00000b00| 2e 35 29 20 44 47 4d 0d | 0d 02 f5 0d 49 6e 20 74 |.5) DGM.|....In t|
|00000b10| 68 65 20 73 75 6d 6d 65 | 72 20 6f 66 20 31 39 38 |he summe|r of 198|
|00000b20| 39 2c 20 49 20 68 65 61 | 72 64 20 61 20 70 72 65 |9, I hea|rd a pre|
|00000b30| 73 65 6e 74 61 74 69 6f | 6e 20 62 79 20 44 72 2e |sentatio|n by Dr.|
|00000b40| 20 45 64 20 42 61 72 62 | 6f 6e 69 20 6f 66 20 41 | Ed Barb|oni of A|
|00000b50| 6c 6c 65 67 68 65 6e 79 | 20 43 6f 6c 6c 65 67 65 |llegheny| College|
|00000b60| 2e 20 48 65 20 73 61 77 | 20 74 68 65 20 4e 65 78 |. He saw| the Nex|
|00000b70| 74 53 74 65 70 20 65 6e | 76 69 72 6f 6e 6d 65 6e |tStep en|vironmen|
|00000b80| 74 20 68 61 64 20 66 61 | 72 20 72 65 61 63 68 69 |t had fa|r reachi|
|00000b90| 6e 67 20 69 6d 70 6c 69 | 63 61 74 69 6f 6e 73 3a |ng impli|cations:|
|00000ba0| 20 6e 6f 74 20 6a 75 73 | 74 20 66 6f 72 20 70 72 | not jus|t for pr|
|00000bb0| 6f 67 72 61 6d 6d 65 72 | 73 20 62 75 74 20 66 6f |ogrammer|s but fo|
|00000bc0| 72 20 61 6e 79 6f 6e 65 | 20 77 68 6f 20 6e 65 65 |r anyone| who nee|
|00000bd0| 64 65 64 20 74 6f 20 6c | 65 61 72 6e 20 74 6f 20 |ded to l|earn to |
|00000be0| 6d 61 6e 69 70 75 6c 61 | 74 65 20 69 6e 66 6f 72 |manipula|te infor|
|00000bf0| 6d 61 74 69 6f 6e 20 61 | 6e 64 20 63 72 65 61 74 |mation a|nd creat|
|00000c00| 65 20 76 61 6c 75 65 20 | 66 72 6f 6d 20 74 68 61 |e value |from tha|
|00000c10| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 20 20 |t inform|ation. |
|00000c20| 57 65 20 73 68 61 72 65 | 64 20 61 20 76 69 73 69 |We share|d a visi|
|00000c30| 6f 6e 20 74 68 61 74 20 | 6f 62 6a 65 63 74 20 62 |on that |object b|
|00000c40| 61 73 65 64 20 63 6f 6d | 70 75 74 69 6e 67 20 77 |ased com|puting w|
|00000c50| 61 73 20 6e 6f 74 20 6a | 75 73 74 20 61 20 70 72 |as not j|ust a pr|
|00000c60| 6f 67 72 61 6d 6d 69 6e | 67 20 65 6e 76 69 72 6f |ogrammin|g enviro|
|00000c70| 6e 6d 65 6e 74 2c 20 69 | 74 20 77 61 73 20 77 61 |nment, i|t was wa|
|00000c80| 73 20 61 20 63 6f 72 65 | 20 74 65 63 68 6e 6f 6c |s a core| technol|
|00000c90| 6f 67 79 20 6f 66 20 74 | 68 65 20 69 6e 66 6f 72 |ogy of t|he infor|
|00000ca0| 6d 61 74 69 6f 6e 20 61 | 67 65 2e 20 42 61 72 62 |mation a|ge. Barb|
|00000cb0| 6f 6e 69 27 73 20 76 69 | 73 69 6f 6e 20 77 61 73 |oni's vi|sion was|
|00000cc0| 20 74 68 61 74 20 74 6f | 20 62 65 20 63 6f 6d 70 | that to| be comp|
|00000cd0| 65 74 69 74 69 76 65 2c | 20 41 6c 6c 65 67 68 65 |etitive,| Alleghe|
|00000ce0| 6e 79 20 43 6f 6c 6c 65 | 67 65 20 6e 65 65 64 65 |ny Colle|ge neede|
|00000cf0| 64 20 74 6f 20 74 65 61 | 63 68 20 74 68 65 20 73 |d to tea|ch the s|
|00000d00| 6b 69 6c 6c 73 20 72 65 | 71 75 69 72 65 64 20 74 |kills re|quired t|
|00000d10| 6f 20 63 72 65 61 74 65 | 20 61 6e 64 20 6d 61 6e |o create| and man|
|00000d20| 69 70 75 6c 61 74 65 20 | 61 62 73 74 72 61 63 74 |ipulate |abstract|
|00000d30| 69 6f 6e 73 20 61 6e 64 | 20 74 68 61 74 20 4e 65 |ions and| that Ne|
|00000d40| 78 74 53 74 65 70 20 77 | 61 73 20 74 68 65 20 62 |xtStep w|as the b|
|00000d50| 65 73 74 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |est envi|ronment |
|00000d60| 74 6f 20 74 65 61 63 68 | 20 74 68 6f 73 65 20 73 |to teach| those s|
|00000d70| 6b 69 6c 6c 73 2e 20 20 | 4d 61 6e 79 20 6f 66 20 |kills. |Many of |
|00000d80| 74 68 65 73 65 20 69 64 | 65 61 73 20 68 61 76 65 |these id|eas have|
|00000d90| 20 62 65 65 6e 20 67 72 | 65 61 74 6c 79 20 69 6e | been gr|eatly in|
|00000da0| 66 6c 75 65 6e 63 65 64 | 20 62 79 20 53 68 6f 73 |fluenced| by Shos|
|00000db0| 68 61 6e 61 20 5a 75 62 | 6f 66 66 27 73 20 74 65 |hana Zub|off's te|
|00000dc0| 78 74 20 ff 00 15 0a 02 | f7 22 49 6e 20 54 68 65 |xt .....|."In The|
|00000dd0| 20 41 67 65 20 6f 66 20 | 61 20 53 6d 61 72 74 20 | Age of |a Smart |
|00000de0| 4d 61 63 68 69 6e 65 22 | f9 04 f7 ff 00 15 08 02 |Machine"|........|
|00000df0| f7 f4 f9 00 f7 f9 00 f7 | ff 00 15 0a 00 f7 2e 0d |........|........|
|00000e00| 03 54 0d ff 00 15 0a 01 | f7 34 2e 20 45 6e 63 61 |.T......|.4. Enca|
|00000e10| 70 73 75 6c 61 74 69 6f | 6e 20 61 6e 64 20 49 6e |psulatio|n and In|
|00000e20| 68 65 72 69 74 61 6e 63 | 65 ff 00 15 0a 00 f7 0d |heritanc|e.......|
|00000e30| 0d 49 6e 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |.In the |last cha|
|00000e40| 70 74 65 72 20 77 65 20 | 63 72 65 61 74 65 64 20 |pter we |created |
|00000e50| 61 20 22 62 6c 61 63 6b | 20 62 6f 78 22 20 61 72 |a "black| box" ar|
|00000e60| 6f 75 6e 64 20 61 6e 20 | 6f 62 6a 65 63 74 20 61 |ound an |object a|
|00000e70| 6e 64 20 61 6c 6c 6f 77 | 20 65 76 65 6e 74 73 20 |nd allow| events |
|00000e80| 73 75 63 68 20 61 73 20 | 61 20 62 75 74 74 6f 6e |such as |a button|
|00000e90| 20 62 65 69 6e 67 20 70 | 72 65 73 73 65 64 20 74 | being p|ressed t|
|00000ea0| 6f 20 65 78 65 63 75 74 | 65 20 61 20 73 65 63 74 |o execut|e a sect|
|00000eb0| 69 6f 6e 20 6f 66 20 70 | 72 6f 67 72 61 6d 20 63 |ion of p|rogram c|
|00000ec0| 6f 64 65 20 77 69 74 68 | 69 6e 20 74 68 69 73 20 |ode with|in this |
|00000ed0| 6f 62 6a 65 63 74 2e 20 | 20 54 68 69 73 20 73 65 |object. | This se|
|00000ee0| 63 74 69 6f 6e 20 64 69 | 73 63 75 73 73 65 73 20 |ction di|scusses |
|00000ef0| 74 68 65 20 72 65 61 73 | 6f 6e 20 66 6f 72 20 65 |the reas|on for e|
|00000f00| 6e 63 61 70 73 75 6c 61 | 74 69 6f 6e 20 61 6e 64 |ncapsula|tion and|
|00000f10| 20 74 68 65 20 61 64 76 | 61 6e 74 61 67 65 73 20 | the adv|antages |
|00000f20| 69 74 20 63 72 65 61 74 | 65 73 20 66 6f 72 20 74 |it creat|es for t|
|00000f30| 68 65 20 64 65 76 65 6c | 6f 70 65 72 20 61 6e 64 |he devel|oper and|
|00000f40| 20 75 73 65 72 73 20 6f | 66 20 6f 62 6a 65 63 74 | users o|f object|
|00000f50| 73 2e 20 20 57 65 20 74 | 68 65 6e 20 64 69 73 63 |s. We t|hen disc|
|00000f60| 75 73 73 20 74 68 65 20 | 72 65 6c 61 74 69 6f 6e |uss the |relation|
|00000f70| 73 68 69 70 73 20 6f 66 | 20 6f 62 6a 65 63 74 20 |ships of| object |
|00000f80| 63 6c 61 73 73 65 73 20 | 69 6e 20 61 6e 20 69 6e |classes |in an in|
|00000f90| 68 65 72 69 74 61 6e 63 | 65 20 74 72 65 65 20 73 |heritanc|e tree s|
|00000fa0| 74 72 75 63 74 75 72 65 | 2e 0d 0d ff 00 15 0a 01 |tructure|........|
|00000fb0| f7 35 2e 20 4d 65 73 73 | 61 67 69 6e 67 20 61 6e |.5. Mess|aging an|
|00000fc0| 64 20 44 79 6e 61 6d 69 | 63 20 42 69 6e 64 69 6e |d Dynami|c Bindin|
|00000fd0| 67 ff 00 15 0a 00 f7 0d | 0d 4f 6e 63 65 20 77 65 |g.......|.Once we|
|00000fe0| 20 68 61 76 65 20 6c 65 | 61 72 6e 65 64 20 68 6f | have le|arned ho|
|00000ff0| 77 20 74 6f 20 63 72 65 | 61 74 65 20 6f 62 6a 65 |w to cre|ate obje|
|00001000| 63 74 73 20 77 65 20 6e | 65 65 64 20 61 20 66 6c |cts we n|eed a fl|
|00001010| 65 78 69 62 6c 65 20 77 | 61 79 20 74 6f 20 61 6c |exible w|ay to al|
|00001020| 6c 6f 77 20 6f 62 6a 65 | 63 74 73 20 74 6f 20 63 |low obje|cts to c|
|00001030| 6f 6d 6d 75 6e 69 63 61 | 74 65 2e 20 20 54 68 69 |ommunica|te. Thi|
|00001040| 73 20 63 68 61 70 74 65 | 72 20 64 69 73 63 75 73 |s chapte|r discus|
|00001050| 73 65 73 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 |ses the |message |
|00001060| 73 74 61 74 65 6d 65 6e | 74 20 61 6e 64 20 68 6f |statemen|t and ho|
|00001070| 77 20 64 79 6e 61 6d 69 | 63 20 62 69 6e 64 69 6e |w dynami|c bindin|
|00001080| 67 20 61 6c 6c 6f 77 73 | 20 75 73 20 74 6f 20 64 |g allows| us to d|
|00001090| 69 72 65 63 74 20 6d 65 | 73 73 61 67 65 73 20 69 |irect me|ssages i|
|000010a0| 6e 20 61 20 66 6c 65 78 | 69 62 6c 65 20 6d 61 6e |n a flex|ible man|
|000010b0| 6e 65 72 2e 20 20 49 74 | 20 64 69 73 63 75 73 73 |ner. It| discuss|
|000010c0| 65 73 20 74 68 65 20 63 | 6f 6e 63 65 70 74 73 20 |es the c|oncepts |
|000010d0| 62 65 68 69 6e 64 20 63 | 6f 6e 6e 65 63 74 69 6f |behind c|onnectio|
|000010e0| 6e 20 62 61 73 65 64 20 | 70 72 6f 67 72 61 6d 6d |n based |programm|
|000010f0| 69 6e 67 20 61 6e 64 20 | 68 6f 77 20 6d 6f 64 65 |ing and |how mode|
|00001100| 72 6e 20 73 79 73 74 65 | 6d 73 20 63 72 65 61 74 |rn syste|ms creat|
|00001110| 65 20 72 65 6c 61 74 69 | 6f 6e 73 68 69 70 73 20 |e relati|onships |
|00001120| 62 61 73 65 64 20 6f 6e | 20 63 6f 6e 6e 65 63 74 |based on| connect|
|00001130| 69 6f 6e 73 20 72 61 74 | 68 65 72 20 74 68 65 6e |ions rat|her then|
|00001140| 20 6c 6f 63 61 74 69 6f | 6e 20 6f 66 20 6f 62 6a | locatio|n of obj|
|00001150| 65 63 74 73 2e 0d 00 18 | 04 00 02 00 00 38 04 00 |ects....|.....8..|
|00001160| 02 06 00 38 24 00 0a b3 | 00 38 04 00 02 0c 00 2a |...8$...|.8.....*|
|00001170| 00 06 24 00 04 84 00 1d | 00 78 00 03 00 00 00 48 |..$.....|.x.....H|
|00001180| 00 48 00 00 00 00 03 18 | 02 64 00 00 00 00 03 18 |.H......|.d......|
|00001190| 02 64 01 5b 05 28 03 fc | 00 02 00 00 00 48 00 48 |.d.[.(..|.....H.H|
|000011a0| 00 00 00 00 03 18 02 64 | 00 01 00 00 00 64 00 00 |.......d|.....d..|
|000011b0| 00 01 00 01 01 01 00 00 | 00 01 27 0f 00 01 00 01 |........|..'.....|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 00 19 |........|........|
|000011d0| 01 90 00 00 00 00 00 40 | 00 00 00 00 00 00 00 00 |.......@|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 02 eb fc 00 6c 01 | cd 00 6c 00 0e 05 74 f7 |......l.|..l...t.|
|00001200| ff 00 15 0a 01 f7 50 6c | 65 61 73 65 20 66 65 65 |......Pl|ease fee|
|00001210| 6c 20 66 72 65 65 20 74 | 6f 20 75 73 65 20 61 6e |l free t|o use an|
|00001220| 79 20 70 61 72 74 20 6f | 66 20 74 68 69 73 20 65 |y part o|f this e|
|00001230| 61 72 6c 79 20 76 65 72 | 73 69 6f 6e 20 28 70 72 |arly ver|sion (pr|
|00001240| 65 20 31 2e 30 29 20 6f | 66 20 74 68 65 20 74 65 |e 1.0) o|f the te|
|00001250| 78 74 62 6f 6f 6b 20 69 | 6e 20 61 6e 79 20 63 6c |xtbook i|n any cl|
|00001260| 61 73 73 65 73 20 79 6f | 75 20 61 72 65 20 64 65 |asses yo|u are de|
|00001270| 76 65 6c 6f 70 69 6e 67 | 2e 20 49 20 6f 6e 6c 79 |veloping|. I only|
|00001280| 20 61 73 6b 20 74 68 61 | 74 20 79 6f 75 20 67 69 | ask tha|t you gi|
|00001290| 76 65 20 6d 65 20 66 65 | 65 64 62 61 63 6b 20 61 |ve me fe|edback a|
|000012a0| 73 20 74 6f 20 68 6f 77 | 20 75 73 65 66 75 6c 20 |s to how| useful |
|000012b0| 69 74 20 69 73 20 61 6e | 64 20 77 68 65 72 65 20 |it is an|d where |
|000012c0| 69 74 20 6e 65 65 64 73 | 20 69 6d 70 72 6f 76 65 |it needs| improve|
|000012d0| 6d 65 6e 74 20 62 65 66 | 6f 72 65 20 79 6f 75 20 |ment bef|ore you |
|000012e0| 74 65 6c 6c 20 6f 74 68 | 65 72 73 2e 20 54 68 65 |tell oth|ers. The|
|000012f0| 20 6d 6f 72 65 20 70 65 | 6f 70 6c 65 20 75 73 65 | more pe|ople use|
|00001300| 20 69 74 2c 20 74 68 65 | 20 6d 6f 72 65 20 66 65 | it, the| more fe|
|00001310| 65 64 62 61 63 6b 20 77 | 65 20 67 65 74 20 61 6e |edback w|e get an|
|00001320| 64 20 74 68 65 20 62 65 | 74 74 65 72 20 74 68 65 |d the be|tter the|
|00001330| 20 66 69 6e 61 6c 20 70 | 72 6f 64 75 63 74 20 77 | final p|roduct w|
|00001340| 69 6c 6c 20 62 65 2e 20 | 20 0d 0d 49 66 20 77 65 |ill be. | ..If we|
|00001350| 20 61 74 74 61 69 6e 20 | 74 68 65 20 62 6c 65 73 | attain |the bles|
|00001360| 73 69 6e 67 73 20 6f 66 | 20 74 68 65 20 61 70 70 |sings of| the app|
|00001370| 72 6f 70 72 69 61 74 65 | 20 70 65 6f 70 6c 65 20 |ropriate| people |
|00001380| 77 69 74 68 69 6e 20 4e | 65 58 54 20 69 74 20 69 |within N|eXT it i|
|00001390| 73 20 70 6f 73 73 69 62 | 6c 65 20 77 65 20 77 69 |s possib|le we wi|
|000013a0| 6c 6c 20 61 74 74 65 6d | 70 74 20 74 6f 20 70 75 |ll attem|pt to pu|
|000013b0| 62 6c 69 73 68 20 61 20 | 6c 61 74 65 72 20 76 65 |blish a |later ve|
|000013c0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 73 65 20 6d |rsion of| these m|
|000013d0| 61 74 65 72 69 61 6c 73 | 20 74 68 72 6f 75 67 68 |aterials| through|
|000013e0| 20 61 20 70 75 62 6c 69 | 73 68 65 72 2e 20 55 6e | a publi|sher. Un|
|000013f0| 74 69 6c 20 74 68 61 74 | 20 76 65 72 73 69 6f 6e |til that| version|
|00001400| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 75 73 | is avai|lable us|
|00001410| 65 72 73 20 6d 61 79 20 | 6d 61 6b 65 20 61 73 20 |ers may |make as |
|00001420| 6d 61 6e 79 20 63 6f 70 | 69 65 73 20 61 73 20 79 |many cop|ies as y|
|00001430| 6f 75 20 66 65 65 6c 20 | 61 72 65 20 6e 65 63 65 |ou feel |are nece|
|00001440| 73 73 61 72 79 2e 20 20 | 41 66 74 65 72 20 61 20 |ssary. |After a |
|00001450| 31 2e 30 20 76 65 72 73 | 69 6f 6e 20 69 73 20 61 |1.0 vers|ion is a|
|00001460| 76 61 69 6c 61 62 6c 65 | 20 74 68 65 20 71 75 61 |vailable| the qua|
|00001470| 6c 69 74 79 20 77 69 6c | 6c 20 62 65 20 68 69 67 |lity wil|l be hig|
|00001480| 68 20 65 6e 6f 75 67 68 | 20 74 68 61 74 20 75 73 |h enough| that us|
|00001490| 65 72 73 20 77 69 6c 6c | 20 66 65 65 6c 20 69 74 |ers will| feel it|
|000014a0| 20 69 73 20 77 6f 72 74 | 68 20 74 68 65 69 72 20 | is wort|h their |
|000014b0| 77 68 69 6c 65 20 74 6f | 20 67 6f 20 6f 75 74 20 |while to| go out |
|000014c0| 20 74 6f 20 70 75 72 63 | 68 61 73 65 20 61 20 70 | to purc|hase a p|
|000014d0| 75 62 6c 69 73 68 65 64 | 20 63 6f 70 79 2e 0d 03 |ublished| copy...|
|000014e0| 32 0d 41 6c 6c 20 74 68 | 65 73 65 20 6d 61 74 65 |2.All th|ese mate|
|000014f0| 72 69 61 6c 73 20 61 72 | 65 20 64 65 73 69 67 6e |rials ar|e design|
|00001500| 65 64 20 74 6f 20 62 65 | 20 75 73 65 64 20 77 69 |ed to be| used wi|
|00001510| 74 68 20 74 68 65 20 4e | 65 58 54 20 44 69 67 69 |th the N|eXT Digi|
|00001520| 74 61 6c 20 4c 69 62 72 | 61 72 69 61 6e 2e 20 20 |tal Libr|arian. |
|00001530| 54 68 69 73 20 61 6c 6c | 6f 77 73 20 71 75 69 63 |This all|ows quic|
|00001540| 6b 20 73 65 61 72 63 68 | 69 6e 67 20 66 6f 72 20 |k search|ing for |
|00001550| 6b 65 79 20 77 6f 72 64 | 73 2e 20 20 54 6f 20 75 |key word|s. To u|
|00001560| 73 65 20 69 74 20 6a 75 | 73 74 20 64 72 61 67 20 |se it ju|st drag |
|00001570| 74 68 65 20 66 6f 6c 64 | 65 72 20 63 6f 6e 74 61 |the fold|er conta|
|00001580| 69 6e 69 6e 67 20 74 68 | 65 73 65 20 6d 61 74 65 |ining th|ese mate|
|00001590| 72 69 61 6c 73 20 64 69 | 72 65 63 74 6c 79 20 69 |rials di|rectly i|
|000015a0| 6e 74 6f 20 74 68 65 20 | 44 69 67 69 74 61 6c 20 |nto the |Digital |
|000015b0| 4c 69 62 72 61 72 69 61 | 6e 20 77 69 6e 64 6f 77 |Libraria|n window|
|000015c0| 2e 20 20 53 65 65 20 74 | 68 65 20 6f 6e 2d 6c 69 |. See t|he on-li|
|000015d0| 6e 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ne docum|entation|
|000015e0| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|000015f0| 61 74 69 6f 6e 2e 20 20 | 0d 0d 50 6c 65 61 73 65 |ation. |..Please|
|00001600| 20 64 6f 20 6e 6f 74 20 | 6d 61 6b 65 20 63 68 61 | do not |make cha|
|00001610| 6e 67 65 73 20 74 6f 20 | 74 68 69 73 20 64 6f 63 |nges to |this doc|
|00001620| 75 6d 65 6e 74 73 20 77 | 69 74 68 6f 75 74 20 63 |uments w|ithout c|
|00001630| 6c 65 61 72 6c 79 20 73 | 74 61 74 69 6e 67 20 69 |learly s|tating i|
|00001640| 6e 20 74 68 65 20 70 61 | 67 65 20 68 65 61 64 65 |n the pa|ge heade|
|00001650| 72 73 20 74 68 61 74 20 | 63 68 61 6e 67 65 73 20 |rs that |changes |
|00001660| 68 61 76 65 20 62 65 65 | 6e 20 6d 61 64 65 2e 0d |have bee|n made..|
|00001670| 0d 50 6c 65 61 73 65 20 | 66 65 65 6c 20 66 72 65 |.Please |feel fre|
|00001680| 65 20 74 6f 20 73 65 6e | 64 20 6d 65 20 61 20 70 |e to sen|d me a p|
|00001690| 72 69 6e 74 65 64 20 63 | 6f 70 79 20 77 69 74 68 |rinted c|opy with|
|000016a0| 20 72 65 64 20 69 6e 6b | 2c 20 61 6e 20 6f 6e 20 | red ink|, an on |
|000016b0| 6c 69 6e 65 20 63 6f 70 | 79 20 77 69 74 68 20 79 |line cop|y with y|
|000016c0| 6f 75 20 63 6f 6d 6d 65 | 6e 74 73 20 69 6e 20 ff |ou comme|nts in .|
|000016d0| 00 15 10 02 f7 31 36 20 | 70 6f 69 6e 74 20 20 69 |.....16 |point i|
|000016e0| 74 61 6c 69 63 20 66 6f | 6e 74 ff 00 15 0a 02 f7 |talic fo|nt......|
|000016f0| 20 ff 00 15 0a 01 f7 6f | 72 20 6a 75 73 74 20 66 | ......o|r just f|
|00001700| 69 6c 6c 20 6f 75 74 20 | 61 20 72 65 76 69 65 77 |ill out |a review|
|00001710| 65 72 73 20 66 6f 72 6d | 20 69 6e 20 74 68 65 20 |ers form| in the |
|00001720| 22 44 4f 43 22 20 73 75 | 62 2d 64 69 72 65 63 74 |"DOC" su|b-direct|
|00001730| 6f 72 79 2e 20 20 49 20 | 77 69 6c 6c 20 61 74 74 |ory. I |will att|
|00001740| 65 6d 70 74 20 74 6f 20 | 70 72 6f 64 75 63 65 20 |empt to |produce |
|00001750| 61 20 6e 65 77 20 76 65 | 72 73 69 6f 6e 20 6f 66 |a new ve|rsion of|
|00001760| 20 74 68 69 73 20 74 65 | 78 74 20 65 76 65 72 79 | this te|xt every|
|00001770| 20 66 65 77 20 6d 6f 6e | 74 68 73 20 75 6e 74 69 | few mon|ths unti|
|00001780| 6c 20 74 68 65 20 74 65 | 78 74 20 69 73 20 66 69 |l the te|xt is fi|
|00001790| 6e 69 73 68 65 64 2e 0d | fc 00 4f 01 cd 00 4f 00 |nished..|..O...O.|
|000017a0| 0e 01 7c 05 74 f7 0d 0d | 0d 0d 0d 0d 0d 0d fc 00 |..|.t...|........|
|000017b0| 6d 01 cd 00 6d 00 0e 05 | 74 f7 43 6f 70 79 72 69 |m...m...|t.Copyri|
|000017c0| 67 68 74 20 31 39 38 39 | 2c 31 39 39 30 20 62 79 |ght 1989|,1990 by|
|000017d0| 20 4e 65 58 54 20 49 6e | 63 20 61 6e 64 20 44 61 | NeXT In|c and Da|
|000017e0| 6e 20 4d 63 43 72 65 61 | 72 79 2e 0d 0d 49 53 42 |n McCrea|ry...ISB|
|000017f0| 4e 20 30 2d 30 30 30 2d | 30 30 30 30 30 30 2d 30 |N 0-000-|000000-0|
|00001800| 0d 0d 41 42 43 44 45 46 | 47 48 49 4a 2d 44 4f 2d |..ABCDEF|GHIJ-DO-|
|00001810| 38 39 0d 03 c2 ff 00 15 | 16 01 f7 fc 00 4f 01 cd |89......|.....O..|
|00001820| 00 4f 00 0e 01 7c 05 74 | f7 0d 0d 0d 0d 0d 0d 0d |.O...|.t|........|
|00001830| 0d fc 00 49 01 cd 00 49 | 00 0e 01 7c 05 74 f7 ff |...I...I|...|.t..|
|00001840| 00 15 22 01 f7 50 72 65 | 66 61 63 65 ff 00 15 0a |.."..Pre|face....|
|00001850| 00 f7 0d fc 00 4f 01 cd | 00 4f 00 0e 01 7c 05 74 |.....O..|.O...|.t|
|00001860| f7 0d fc 00 6c 01 cd 00 | 6c 00 0e 05 74 f7 54 68 |....l...|l...t.Th|
|00001870| 69 73 20 62 6f 6f 6b 20 | 65 76 6f 6c 76 65 64 20 |is book |evolved |
|00001880| 66 72 6f 6d 20 6d 79 20 | 77 6f 72 6b 20 74 65 61 |from my |work tea|
|00001890| 63 68 69 6e 67 20 63 6c | 61 73 73 65 73 20 69 6e |ching cl|asses in|
|000018a0| 20 6f 62 6a 65 63 74 20 | 62 61 73 65 64 20 63 6f | object |based co|
|000018b0| 6d 70 75 74 69 6e 67 20 | 74 6f 20 66 61 63 75 6c |mputing |to facul|
|000018c0| 74 79 20 6d 65 6d 62 65 | 72 73 20 77 68 6f 20 70 |ty membe|rs who p|
|000018d0| 75 72 63 68 61 73 65 64 | 20 4e 65 58 54 20 73 79 |urchased| NeXT sy|
|000018e0| 73 74 65 6d 73 20 61 72 | 6f 75 6e 64 20 74 68 65 |stems ar|ound the|
|000018f0| 20 6d 69 64 77 65 73 74 | 2e 20 49 20 73 74 61 72 | midwest|. I star|
|00001900| 74 65 64 20 77 69 74 68 | 20 61 20 68 61 6c 66 20 |ted with| a half |
|00001910| 64 61 79 20 73 65 6d 69 | 6e 61 72 20 69 6e 20 77 |day semi|nar in w|
|00001920| 68 69 63 68 20 49 20 74 | 72 69 65 64 20 74 6f 20 |hich I t|ried to |
|00001930| 61 6c 6c 6f 77 20 70 65 | 6f 70 6c 65 20 74 6f 20 |allow pe|ople to |
|00001940| 75 6e 63 6f 76 65 72 20 | 74 68 65 20 69 6d 6d 65 |uncover |the imme|
|00001950| 6e 73 65 20 70 6f 74 65 | 6e 74 69 61 6c 20 6f 66 |nse pote|ntial of|
|00001960| 20 74 68 65 20 73 79 73 | 74 65 6d 73 20 74 68 65 | the sys|tems the|
|00001970| 79 20 68 61 64 20 70 75 | 72 63 68 61 73 65 64 2e |y had pu|rchased.|
|00001980| 20 4d 61 6e 79 20 6f 66 | 20 74 68 65 6d 20 70 75 | Many of| them pu|
|00001990| 72 63 68 61 73 65 64 20 | 4e 65 58 54 20 73 79 73 |rchased |NeXT sys|
|000019a0| 74 65 6d 73 20 62 65 63 | 61 75 73 65 20 6f 66 20 |tems bec|ause of |
|000019b0| 69 74 73 20 73 75 70 65 | 72 69 6f 72 20 70 75 62 |its supe|rior pub|
|000019c0| 6c 69 73 68 69 6e 67 20 | 74 6f 6f 6c 73 20 73 75 |lishing |tools su|
|000019d0| 63 68 20 61 73 20 46 72 | 61 6d 65 4d 61 6b 65 72 |ch as Fr|ameMaker|
|000019e0| 20 6f 72 20 69 74 73 20 | 61 64 76 61 6e 63 65 64 | or its |advanced|
|000019f0| 20 61 6e 61 6c 79 74 69 | 63 61 6c 20 74 6f 6f 6c | analyti|cal tool|
|00001a00| 73 20 73 75 63 68 20 61 | 73 20 4d 61 74 68 65 6d |s such a|s Mathem|
|00001a10| 61 74 69 63 61 2e 20 20 | 4f 74 68 65 72 73 20 66 |atica. |Others f|
|00001a20| 6f 75 6e 64 20 69 74 20 | 74 6f 20 62 65 20 6f 6e |ound it |to be on|
|00001a30| 65 20 6f 66 20 74 68 65 | 20 66 69 72 73 74 20 73 |e of the| first s|
|00001a40| 74 72 6f 6e 67 20 6d 75 | 6c 74 69 2d 74 61 73 6b |trong mu|lti-task|
|00001a50| 69 6e 67 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |ing envi|ronments|
|00001a60| 20 77 68 69 63 68 20 77 | 61 73 20 61 6c 73 6f 20 | which w|as also |
|00001a70| 77 61 73 20 65 61 73 79 | 20 74 6f 20 75 73 65 2e |was easy| to use.|
|00001a80| 20 55 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 | Unfortu|nately, |
|00001a90| 74 68 65 73 65 20 66 65 | 61 74 75 72 65 73 20 6f |these fe|atures o|
|00001aa0| 76 65 72 73 68 61 64 6f | 77 65 64 20 77 68 61 74 |vershado|wed what|
|00001ab0| 20 49 20 66 65 65 6c 20 | 69 73 20 74 68 65 20 4e | I feel |is the N|
|00001ac0| 65 58 54 20 73 79 73 74 | 65 6d 73 20 67 72 65 61 |eXT syst|ems grea|
|00001ad0| 74 65 73 74 20 73 74 72 | 65 6e 67 74 68 3a 20 20 |test str|ength: |
|00001ae0| 69 74 73 20 61 62 69 6c | 69 74 79 20 74 6f 20 61 |its abil|ity to a|
|00001af0| 6c 6c 6f 77 20 74 68 65 | 20 75 73 65 72 20 74 6f |llow the| user to|
|00001b00| 20 71 75 69 63 6b 6c 79 | 20 63 72 65 61 74 65 20 | quickly| create |
|00001b10| 61 6e 64 20 6d 61 6e 69 | 70 75 6c 61 74 65 20 61 |and mani|pulate a|
|00001b20| 62 73 74 72 61 63 74 69 | 6f 6e 73 20 6f 66 20 74 |bstracti|ons of t|
|00001b30| 68 65 20 77 6f 72 6c 64 | 20 61 72 6f 75 6e 64 20 |he world| around |
|00001b40| 74 68 65 6d 2e 20 20 4d | 79 20 74 61 73 6b 20 77 |them. M|y task w|
|00001b50| 61 73 20 74 6f 20 73 68 | 6f 77 20 70 65 6f 70 6c |as to sh|ow peopl|
|00001b60| 65 20 69 6e 20 61 20 68 | 61 6c 66 20 64 61 79 20 |e in a h|alf day |
|00001b70| 74 68 61 74 20 74 68 65 | 20 4e 65 58 54 20 73 79 |that the| NeXT sy|
|00001b80| 73 74 65 6d 20 61 6c 73 | 6f 20 68 61 64 20 74 68 |stem als|o had th|
|00001b90| 65 20 6d 6f 73 74 20 72 | 65 76 6f 6c 75 74 69 6f |e most r|evolutio|
|00001ba0| 6e 61 72 79 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |nary app|lication|
|00001bb0| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 20 65 6e 76 | develop|ment env|
|00001bc0| 69 72 6f 6e 6d 65 6e 74 | 20 65 76 65 72 20 63 72 |ironment| ever cr|
|00001bd0| 65 61 74 65 64 2e 0d 01 | fd fc 00 4f 01 cd 00 4f |eated...|...O...O|
|00001be0| 00 0e 01 7c 05 74 f7 0d | fc 00 48 01 cd 00 48 00 |...|.t..|..H...H.|
|00001bf0| 0e 01 7c 05 74 f7 ff 00 | 15 10 01 f7 54 61 72 67 |..|.t...|....Targ|
|00001c00| 65 74 20 41 75 64 69 65 | 6e 63 65 ff 00 15 0a 00 |et Audie|nce.....|
|00001c10| f7 0d fc 00 4f 01 cd 00 | 4f 00 0e 01 7c 05 74 f7 |....O...|O...|.t.|
|00001c20| 0d fc 00 6c 01 cd 00 6c | 00 0e 01 7c 05 74 f7 54 |...l...l|...|.t.T|
|00001c30| 68 65 20 62 6f 6f 6b 20 | 68 61 73 20 62 65 65 6e |he book |has been|
|00001c40| 20 64 65 73 69 67 6e 65 | 64 20 74 6f 20 62 65 20 | designe|d to be |
|00001c50| 75 73 65 64 20 61 73 20 | 61 20 74 65 78 74 62 6f |used as |a textbo|
|00001c60| 6f 6b 20 66 6f 72 20 66 | 72 65 73 68 6d 61 6e 20 |ok for f|reshman |
|00001c70| 63 6f 6c 6c 65 67 65 20 | 73 74 75 64 65 6e 74 73 |college |students|
|00001c80| 20 61 6e 64 20 61 64 76 | 61 6e 63 65 64 20 68 69 | and adv|anced hi|
|00001c90| 67 68 2d 73 63 68 6f 6f | 6c 20 73 74 75 64 65 6e |gh-schoo|l studen|
|00001ca0| 74 73 2e 20 20 49 74 20 | 61 73 73 75 6d 65 73 20 |ts. It |assumes |
|00001cb0| 74 68 65 20 72 65 61 64 | 65 72 20 68 61 73 20 61 |the read|er has a|
|00001cc0| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 62 61 63 | program|ming bac|
|00001cd0| 6b 67 72 6f 75 6e 64 20 | 77 68 69 63 68 20 69 6e |kground |which in|
|00001ce0| 63 6c 75 64 65 73 20 61 | 20 64 65 73 63 72 69 70 |cludes a| descrip|
|00001cf0| 74 69 6f 6e 20 6f 66 20 | 66 6c 6f 77 20 63 6f 6e |tion of |flow con|
|00001d00| 74 72 6f 6c 20 28 66 6f | 72 2c 69 66 2d 74 68 65 |trol (fo|r,if-the|
|00001d10| 6e 2d 65 6c 73 65 2c 20 | 73 75 62 72 6f 75 74 69 |n-else, |subrouti|
|00001d20| 6e 65 20 63 61 6c 6c 73 | 29 2c 20 61 73 20 77 65 |ne calls|), as we|
|00001d30| 6c 6c 20 61 73 20 74 68 | 65 20 62 61 73 69 63 20 |ll as th|e basic |
|00001d40| 64 61 74 61 20 74 79 70 | 65 73 20 75 73 65 64 20 |data typ|es used |
|00001d50| 28 69 6e 74 65 67 65 72 | 2c 20 66 6c 6f 61 74 2c |(integer|, float,|
|00001d60| 20 73 74 72 69 6e 67 73 | 29 2e 20 20 41 6c 74 68 | strings|). Alth|
|00001d70| 6f 75 67 68 20 65 78 70 | 6f 73 75 72 65 20 74 6f |ough exp|osure to|
|00001d80| 20 61 64 76 61 6e 63 65 | 64 20 64 61 74 61 20 73 | advance|d data s|
|00001d90| 74 72 75 63 74 75 72 65 | 73 20 28 6c 69 6e 6b 65 |tructure|s (linke|
|00001da0| 64 20 6c 69 73 74 73 2c | 20 74 72 65 65 73 20 65 |d lists,| trees e|
|00001db0| 74 63 29 20 69 73 20 68 | 65 6c 70 66 75 6c 2c 20 |tc) is h|elpful, |
|00001dc0| 69 74 20 69 73 20 6e 6f | 74 20 72 65 71 75 69 72 |it is no|t requir|
|00001dd0| 65 64 2e 20 20 0d 06 40 | 0d 49 20 68 61 76 65 20 |ed. ..@|.I have |
|00001de0| 62 65 65 6e 20 74 6f 6c | 64 20 74 68 65 20 69 6e |been tol|d the in|
|00001df0| 74 72 6f 64 75 63 74 6f | 72 79 20 63 68 61 70 74 |troducto|ry chapt|
|00001e00| 65 72 73 20 68 61 76 65 | 20 62 65 65 6e 20 76 65 |ers have| been ve|
|00001e10| 72 79 20 75 73 65 66 75 | 6c 20 66 6f 72 20 6d 61 |ry usefu|l for ma|
|00001e20| 6e 61 67 65 72 73 20 6f | 66 20 4d 49 53 20 64 65 |nagers o|f MIS de|
|00001e30| 70 61 72 74 6d 65 6e 74 | 73 20 61 6e 64 20 63 6f |partment|s and co|
|00001e40| 6c 6c 65 67 65 20 64 65 | 61 6e 73 20 72 65 73 70 |llege de|ans resp|
|00001e50| 6f 6e 73 69 62 6c 65 20 | 66 6f 72 20 69 6e 74 65 |onsible |for inte|
|00001e60| 67 72 61 74 69 6e 67 20 | 74 65 63 68 6e 6f 6c 6f |grating |technolo|
|00001e70| 67 79 20 69 6e 74 6f 20 | 74 68 65 20 63 75 72 72 |gy into |the curr|
|00001e80| 69 63 75 6c 75 6d 2e 20 | 20 54 68 65 72 65 20 61 |iculum. | There a|
|00001e90| 72 65 20 76 65 72 79 20 | 66 65 77 20 70 6c 61 63 |re very |few plac|
|00001ea0| 65 73 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 |es in th|e first |
|00001eb0| 66 69 76 65 20 63 68 61 | 70 74 65 72 73 20 77 68 |five cha|pters wh|
|00001ec0| 69 63 68 20 72 65 71 75 | 69 72 65 20 61 20 70 72 |ich requ|ire a pr|
|00001ed0| 6f 67 72 61 6d 6d 69 6e | 67 20 62 61 63 6b 67 72 |ogrammin|g backgr|
|00001ee0| 6f 75 6e 64 2e 20 20 4d | 61 6e 79 20 6f 66 20 74 |ound. M|any of t|
|00001ef0| 68 65 20 72 65 63 69 70 | 65 73 20 63 61 6e 20 62 |he recip|es can b|
|00001f00| 65 20 75 73 65 64 20 77 | 69 74 68 6f 75 74 20 61 |e used w|ithout a|
|00001f10| 6e 20 75 6e 64 65 72 73 | 74 61 6e 64 69 6e 67 20 |n unders|tanding |
|00001f20| 6f 66 20 74 68 65 20 55 | 4e 49 58 20 22 73 68 65 |of the U|NIX "she|
|00001f30| 6c 6c 22 2e 0d fc 00 4f | 01 cd 00 4f 00 0e 01 7c |ll"....O|...O...||
|00001f40| 05 74 f7 0d 0d 0d 0d fc | 00 49 01 cd 00 49 00 0e |.t......|.I...I..|
|00001f50| 01 7c 05 74 f7 ff 00 15 | 10 01 f7 4c 61 6e 67 75 |.|.t....|...Langu|
|00001f60| 61 67 65 20 49 6e 64 65 | 70 65 6e 64 65 6e 63 65 |age Inde|pendence|
|00001f70| ff 00 15 0a 00 f7 0d fc | 00 4f 01 cd 00 4f 00 0e |........|.O...O..|
|00001f80| 01 7c 05 74 f7 0d 0d fc | 00 6c 01 cd 00 6c 00 0e |.|.t....|.l...l..|
|00001f90| 05 74 f7 54 68 65 20 63 | 65 6e 74 72 61 6c 20 63 |.t.The c|entral c|
|00001fa0| 6f 6e 63 65 70 74 73 20 | 69 6e 20 74 68 69 73 20 |oncepts |in this |
|00001fb0| 62 6f 6f 6b 20 61 72 65 | 20 68 6f 77 20 74 6f 20 |book are| how to |
|00001fc0| 63 72 65 61 74 65 20 6f | 62 6a 65 63 74 73 2c 20 |create o|bjects, |
|00001fd0| 65 78 74 65 6e 64 20 6f | 62 6a 65 63 74 73 2c 20 |extend o|bjects, |
|00001fe0| 69 6e 74 65 67 72 61 74 | 65 20 6f 62 6a 65 63 74 |integrat|e object|
|00001ff0| 73 20 61 6e 64 20 63 6f | 6d 6d 75 6e 69 63 61 74 |s and co|mmunicat|
|00002000| 65 20 62 65 74 77 65 65 | 6e 20 6f 62 6a 65 63 74 |e betwee|n object|
|00002010| 73 20 75 73 69 6e 67 20 | 6d 65 73 73 61 67 65 20 |s using |message |
|00002020| 73 74 61 74 65 6d 65 6e | 74 73 2e 20 20 54 68 65 |statemen|ts. The|
|00002030| 73 65 20 63 6f 6e 63 65 | 70 74 73 20 61 72 65 20 |se conce|pts are |
|00002040| 6c 61 6e 67 75 61 67 65 | 20 69 6e 64 65 70 65 6e |language| indepen|
|00002050| 64 65 6e 74 2e 20 20 42 | 65 63 61 75 73 65 20 65 |dent. B|ecause e|
|00002060| 76 65 72 79 20 4e 65 58 | 54 20 63 6f 6d 65 73 20 |very NeX|T comes |
|00002070| 77 69 74 68 20 61 6e 20 | 63 6f 6d 70 69 6c 65 72 |with an |compiler|
|00002080| 20 61 6e 64 20 64 65 76 | 65 6c 6f 70 6d 65 6e 74 | and dev|elopment|
|00002090| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 77 68 69 | environ|ment whi|
|000020a0| 63 68 20 75 73 65 73 20 | 6d 65 73 73 61 67 65 73 |ch uses |messages|
|000020b0| 20 77 65 20 75 73 65 20 | 74 68 6f 73 65 20 74 6f | we use |those to|
|000020c0| 6f 6c 73 20 69 6e 20 74 | 68 65 20 65 78 61 6d 70 |ols in t|he examp|
|000020d0| 6c 65 73 20 70 72 6f 67 | 72 61 6d 73 2e 20 20 54 |les prog|rams. T|
|000020e0| 68 69 73 20 6c 61 6e 67 | 75 61 67 65 20 63 61 6c |his lang|uage cal|
|000020f0| 6c 65 64 20 4f 62 6a 65 | 63 74 69 76 65 20 43 2e |led Obje|ctive C.|
|00002100| 20 20 4f 62 6a 65 63 74 | 69 76 65 20 43 20 69 73 | Object|ive C is|
|00002110| 20 61 20 73 75 70 65 72 | 2d 73 65 74 20 6f 66 20 | a super|-set of |
|00002120| 74 68 65 20 43 20 6c 61 | 6e 67 75 61 67 65 20 77 |the C la|nguage w|
|00002130| 68 69 63 68 20 69 73 20 | 74 68 65 20 64 65 66 61 |hich is |the defa|
|00002140| 75 6c 74 20 6c 61 6e 67 | 75 61 67 65 20 75 73 65 |ult lang|uage use|
|00002150| 64 20 6f 6e 20 6d 6f 73 | 74 20 77 6f 72 6b 73 74 |d on mos|t workst|
|00002160| 61 74 69 6f 6e 73 2e 20 | 20 49 74 20 69 73 20 65 |ations. | It is e|
|00002170| 78 61 63 74 6c 79 20 6c | 69 6b 65 20 43 20 77 69 |xactly l|ike C wi|
|00002180| 74 68 20 74 68 65 20 61 | 64 64 69 74 69 6f 6e 20 |th the a|ddition |
|00002190| 6f 66 20 74 68 65 20 6d | 65 73 73 61 67 65 20 73 |of the m|essage s|
|000021a0| 74 61 74 65 6d 65 6e 74 | 2e 20 20 50 72 65 76 69 |tatement|. Previ|
|000021b0| 6f 75 73 20 6b 6e 6f 77 | 6c 65 64 67 65 20 20 6f |ous know|ledge o|
|000021c0| 66 20 74 68 65 20 43 20 | 6c 61 6e 67 75 61 67 65 |f the C |language|
|000021d0| 20 69 73 20 76 65 72 79 | 20 68 65 6c 70 66 75 6c | is very| helpful|
|000021e0| 20 62 75 74 20 6e 6f 74 | 20 72 65 71 75 69 72 65 | but not| require|
|000021f0| 64 20 66 6f 72 20 6d 6f | 73 74 20 6f 66 20 74 68 |d for mo|st of th|
|00002200| 65 20 70 72 6f 67 72 61 | 6d 73 20 69 6e 20 74 68 |e progra|ms in th|
|00002210| 65 20 66 69 72 73 74 20 | 68 61 6c 66 20 6f 66 20 |e first |half of |
|00002220| 74 68 65 20 74 65 78 74 | 2e 20 20 54 68 65 20 65 |the text|. The e|
|00002230| 73 73 65 6e 74 69 61 6c | 20 61 73 70 65 63 74 73 |ssential| aspects|
|00002240| 20 6f 66 20 6f 62 6a 65 | 63 74 20 62 61 73 65 64 | of obje|ct based|
|00002250| 20 63 6f 6d 70 75 74 69 | 6e 67 20 61 72 65 20 6e | computi|ng are n|
|00002260| 6f 74 20 62 6f 75 6e 64 | 20 74 6f 20 6f 6e 65 20 |ot bound| to one |
|00002270| 73 70 65 63 69 66 69 63 | 20 6c 61 6e 67 75 61 67 |specific| languag|
|00002280| 65 2c 20 73 6f 20 74 65 | 63 68 6e 69 71 75 65 73 |e, so te|chniques|
|00002290| 20 6c 65 61 72 6e 65 64 | 20 69 6e 20 74 68 69 73 | learned| in this|
|000022a0| 20 74 65 78 74 20 63 61 | 6e 20 61 6c 73 6f 20 62 | text ca|n also b|
|000022b0| 65 20 61 70 70 6c 69 65 | 64 20 74 6f 20 6d 61 6e |e applie|d to man|
|000022c0| 79 20 6f 74 68 65 72 20 | 70 72 6f 67 72 61 6d 6d |y other |programm|
|000022d0| 69 6e 67 20 73 79 73 74 | 65 6d 73 20 74 68 61 74 |ing syst|ems that|
|000022e0| 20 75 73 65 20 6d 65 73 | 73 61 67 69 6e 67 2e 20 | use mes|saging. |
|000022f0| 20 54 68 65 20 43 20 63 | 6f 6d 70 69 6c 65 72 20 | The C c|ompiler |
|00002300| 75 73 65 64 20 6f 6e 20 | 74 68 65 20 4e 65 58 54 |used on |the NeXT|
|00002310| 20 69 73 20 62 61 73 65 | 64 20 6f 6e 20 74 68 65 | is base|d on the|
|00002320| 20 47 4e 55 20 43 20 63 | 6f 6d 70 69 6c 65 72 20 | GNU C c|ompiler |
|00002330| 77 68 69 63 68 20 68 61 | 73 20 6d 61 6e 79 20 41 |which ha|s many A|
|00002340| 4e 53 49 20 65 78 74 65 | 6e 73 69 6f 6e 73 20 77 |NSI exte|nsions w|
|00002350| 68 69 63 68 20 67 69 76 | 65 20 69 74 20 73 75 70 |hich giv|e it sup|
|00002360| 65 72 69 6f 72 20 74 79 | 70 65 20 63 68 65 63 6b |erior ty|pe check|
|00002370| 69 6e 67 2e 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |ing. Thi|s allows|
|00002380| 20 70 72 6f 67 72 61 6d | 6d 65 72 73 20 74 6f 20 | program|mers to |
|00002390| 63 61 74 63 68 20 65 72 | 72 6f 72 73 20 65 61 72 |catch er|rors ear|
|000023a0| 6c 79 20 69 6e 20 74 68 | 65 20 64 65 76 65 6c 6f |ly in th|e develo|
|000023b0| 70 6d 65 6e 74 20 63 79 | 63 6c 65 2e 20 20 54 68 |pment cy|cle. Th|
|000023c0| 69 73 20 47 4e 55 20 63 | 6f 6d 70 69 6c 65 72 20 |is GNU c|ompiler |
|000023d0| 61 6e 64 20 74 68 65 20 | 4e 65 58 54 20 65 78 74 |and the |NeXT ext|
|000023e0| 65 6e 73 69 6f 6e 73 20 | 61 72 65 20 61 76 61 69 |ensions |are avai|
|000023f0| 6c 61 62 6c 65 20 61 74 | 20 6e 6f 20 63 6f 73 74 |lable at| no cost|
|00002400| 20 75 6e 64 65 72 20 74 | 68 65 20 47 4e 55 20 6c | under t|he GNU l|
|00002410| 69 63 65 6e 73 65 2e 0d | 04 2c fc 00 4f 01 cd 00 |icense..|.,..O...|
|00002420| 4f 00 0e 01 7c 05 74 f7 | 0d fc 00 48 01 cd 00 48 |O...|.t.|...H...H|
|00002430| 00 0e 01 7c 05 74 f7 ff | 00 15 10 01 f7 53 74 72 |...|.t..|.....Str|
|00002440| 75 63 74 75 72 65 ff 00 | 15 0a 00 f7 0d fc 00 4f |ucture..|.......O|
|00002450| 01 cd 00 4f 00 0e 01 7c | 05 74 f7 0d fc 00 6d 01 |...O...||.t....m.|
|00002460| cd 00 6d 00 0e 01 7c 05 | 74 f7 54 68 69 73 20 62 |..m...|.|t.This b|
|00002470| 6f 6f 6b 20 69 73 20 64 | 65 73 69 67 6e 65 64 20 |ook is d|esigned |
|00002480| 61 73 20 61 20 63 6f 6f | 6b 62 6f 6f 6b 2e 20 20 |as a coo|kbook. |
|00002490| 41 66 74 65 72 20 61 20 | 73 68 6f 72 74 20 69 6e |After a |short in|
|000024a0| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 74 68 |troducti|on to th|
|000024b0| 65 20 74 68 65 6f 72 65 | 74 69 63 61 6c 20 66 6f |e theore|tical fo|
|000024c0| 75 6e 64 61 74 69 6f 6e | 73 20 69 74 20 67 69 76 |undation|s it giv|
|000024d0| 65 73 20 72 65 63 69 70 | 65 73 20 66 6f 72 20 63 |es recip|es for c|
|000024e0| 72 65 61 74 69 6e 67 20 | 61 20 66 65 77 20 73 69 |reating |a few si|
|000024f0| 6d 70 6c 65 20 70 72 6f | 67 72 61 6d 73 2e 20 20 |mple pro|grams. |
|00002500| 41 6e 64 20 6a 75 73 74 | 20 6c 69 6b 65 20 6c 65 |And just| like le|
|00002510| 61 72 6e 69 6e 67 20 74 | 6f 20 63 6f 6f 6b 20 69 |arning t|o cook i|
|00002520| 6e 20 74 68 65 20 6b 69 | 74 63 68 65 6e 2c 20 79 |n the ki|tchen, y|
|00002530| 6f 75 20 63 61 6e 20 6c | 65 61 72 6e 20 74 6f 20 |ou can l|earn to |
|00002540| 63 72 65 61 74 65 20 6d | 6f 72 65 20 63 6f 6d 70 |create m|ore comp|
|00002550| 6c 69 63 61 74 65 64 20 | 70 72 6f 67 72 61 6d 73 |licated |programs|
|00002560| 20 74 6f 20 6d 61 74 63 | 68 20 79 6f 75 72 20 74 | to matc|h your t|
|00002570| 61 73 74 65 73 20 62 79 | 20 73 69 6d 70 6c 79 20 |astes by| simply |
|00002580| 63 6f 6d 62 69 6e 69 6e | 67 20 74 68 65 20 76 61 |combinin|g the va|
|00002590| 72 69 6f 75 73 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |rious co|mponents|
|000025a0| 20 6f 66 20 74 68 65 20 | 73 69 6d 70 6c 65 20 72 | of the |simple r|
|000025b0| 65 63 69 70 65 73 2e 20 | 20 54 68 65 20 77 61 79 |ecipes. | The way|
|000025c0| 20 6d 61 6e 79 20 70 65 | 6f 70 6c 65 20 6c 65 61 | many pe|ople lea|
|000025d0| 72 6e 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 69 73 |rn to pr|ogram is|
|000025e0| 20 6e 6f 74 20 62 79 20 | 72 65 61 64 69 6e 67 20 | not by |reading |
|000025f0| 74 65 78 74 62 6f 6f 6b | 73 20 6f 6e 20 74 68 65 |textbook|s on the|
|00002600| 20 74 68 65 6f 72 79 20 | 6f 66 20 70 72 6f 67 72 | theory |of progr|
|00002610| 61 6d 6d 69 6e 67 20 62 | 75 74 20 62 79 20 74 61 |amming b|ut by ta|
|00002620| 6b 69 6e 67 20 65 78 61 | 6d 70 6c 65 73 20 66 72 |king exa|mples fr|
|00002630| 6f 6d 20 62 6f 6f 6b 73 | 20 61 6e 64 20 66 72 6f |om books| and fro|
|00002640| 6d 20 6f 74 68 65 72 20 | 70 65 6f 70 6c 65 20 61 |m other |people a|
|00002650| 6e 64 20 65 78 74 65 6e | 64 69 6e 67 20 74 68 65 |nd exten|ding the|
|00002660| 6d 20 74 6f 20 73 6f 6c | 76 65 20 74 68 65 20 70 |m to sol|ve the p|
|00002670| 72 6f 62 6c 65 6d 73 20 | 77 65 20 61 72 65 20 69 |roblems |we are i|
|00002680| 6e 74 65 72 65 73 74 65 | 64 20 69 6e 2e 20 20 45 |ntereste|d in. E|
|00002690| 61 63 68 20 72 65 63 69 | 70 65 20 77 69 6c 6c 20 |ach reci|pe will |
|000026a0| 69 6e 74 72 6f 64 75 63 | 65 20 61 20 66 65 77 20 |introduc|e a few |
|000026b0| 6e 65 77 20 63 6f 6e 63 | 65 70 74 73 2e 20 20 41 |new conc|epts. A|
|000026c0| 66 74 65 72 20 74 68 65 | 20 66 6f 75 6e 64 61 74 |fter the| foundat|
|000026d0| 69 6f 6e 20 63 68 61 70 | 74 65 72 73 20 28 31 2d |ion chap|ters (1-|
|000026e0| 35 29 20 73 6f 6d 65 20 | 72 65 63 69 70 65 73 20 |5) some |recipes |
|000026f0| 61 72 65 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 20 |are inde|pendent |
|00002700| 73 6d 61 6c 6c 20 70 72 | 6f 67 72 61 6d 73 2c 20 |small pr|ograms, |
|00002710| 62 75 74 20 6d 61 6e 79 | 20 61 6c 73 6f 20 62 75 |but many| also bu|
|00002720| 69 6c 64 20 6f 6e 20 70 | 72 65 76 69 6f 75 73 20 |ild on p|revious |
|00002730| 72 65 63 69 70 65 73 2e | 20 20 57 65 20 72 65 63 |recipes.| We rec|
|00002740| 6f 6d 6d 65 6e 64 20 72 | 65 61 64 69 6e 67 20 63 |ommend r|eading c|
|00002750| 68 61 70 74 65 72 73 20 | 31 2d 35 20 61 70 70 72 |hapters |1-5 appr|
|00002760| 6f 78 69 6d 61 74 65 6c | 79 20 69 6e 20 74 68 65 |oximatel|y in the|
|00002770| 20 6f 72 64 65 72 20 74 | 68 65 79 20 61 70 70 65 | order t|hey appe|
|00002780| 61 72 20 69 6e 20 74 68 | 65 20 62 6f 6f 6b 2e 20 |ar in th|e book. |
|00002790| 20 50 65 6f 70 6c 65 20 | 77 68 6f 20 61 72 65 20 | People |who are |
|000027a0| 61 6c 72 65 61 64 79 20 | 66 61 6d 69 6c 69 61 72 |already |familiar|
|000027b0| 20 77 69 74 68 20 6f 62 | 6a 65 63 74 20 62 61 73 | with ob|ject bas|
|000027c0| 65 64 20 63 6f 6d 70 75 | 74 69 6e 67 20 61 6e 64 |ed compu|ting and|
|000027d0| 20 4e 65 78 74 53 74 65 | 70 20 6d 61 79 20 67 6f | NextSte|p may go|
|000027e0| 20 64 69 72 65 63 74 6c | 79 20 74 6f 20 74 68 65 | directl|y to the|
|000027f0| 20 6c 61 74 65 72 20 63 | 68 61 70 74 65 72 73 2e | later c|hapters.|
|00002800| 20 20 20 54 68 65 20 6f | 76 65 72 61 6c 6c 20 64 | The o|verall d|
|00002810| 65 70 65 6e 64 65 6e 63 | 79 20 73 74 72 75 63 74 |ependenc|y struct|
|00002820| 75 72 65 20 6f 66 20 74 | 68 65 20 62 6f 6f 6b 20 |ure of t|he book |
|00002830| 69 73 20 67 69 76 65 6e | 20 69 6e 20 66 69 67 75 |is given| in figu|
|00002840| 72 65 20 31 2e 0d 00 10 | fc 00 4f 01 cd 00 4f 00 |re 1....|..O...O.|
|00002850| 0e 01 7c 05 74 f7 0d 0d | 01 4a 0d fc 00 4f 01 cd |..|.t...|.J...O..|
|00002860| 00 4f 02 0e 01 7c 05 74 | f7 ff 00 15 0a 01 f7 46 |.O...|.t|.......F|
|00002870| 69 67 75 72 65 20 31 3a | 20 44 65 70 65 6e 64 65 |igure 1:| Depende|
|00002880| 6e 63 79 20 4f 66 20 43 | 68 61 70 74 65 72 73 0d |ncy Of C|hapters.|
|00002890| fc 00 4f 01 cd 00 4f 00 | 0e 01 7c 05 74 f7 ff 00 |..O...O.|..|.t...|
|000028a0| 15 0a 00 f7 0d fc 00 6c | 01 cd 00 6c 00 0e 05 74 |.......l|...l...t|
|000028b0| f7 54 68 65 20 66 69 72 | 73 74 20 68 61 6c 66 20 |.The fir|st half |
|000028c0| 6f 66 20 74 68 65 20 74 | 65 78 74 62 6f 6f 6b 20 |of the t|extbook |
|000028d0| 28 50 61 72 74 20 49 29 | 20 63 61 6e 20 62 65 20 |(Part I)| can be |
|000028e0| 75 73 65 64 20 62 79 20 | 61 6e 79 20 70 65 72 73 |used by |any pers|
|000028f0| 6f 6e 20 77 61 6e 74 69 | 6e 67 20 61 20 67 65 6e |on wanti|ng a gen|
|00002900| 65 72 61 6c 20 6f 76 65 | 72 76 69 65 77 20 6f 66 |eral ove|rview of|
|00002910| 20 61 6e 20 61 64 76 61 | 6e 63 65 64 20 6f 62 6a | an adva|nced obj|
|00002920| 65 63 74 20 6f 72 69 65 | 6e 74 65 64 20 70 72 6f |ect orie|nted pro|
|00002930| 67 72 61 6d 6d 69 6e 67 | 20 73 79 73 74 65 6d 2e |gramming| system.|
|00002940| 20 20 54 68 65 20 73 65 | 63 6f 6e 64 20 68 61 6c | The se|cond hal|
|00002950| 66 20 6f 66 20 74 68 65 | 20 62 6f 6f 6b 20 69 73 |f of the| book is|
|00002960| 20 6d 6f 73 74 20 68 65 | 6c 70 66 75 6c 20 66 6f | most he|lpful fo|
|00002970| 72 20 70 65 6f 70 6c 65 | 20 77 68 6f 20 68 61 76 |r people| who hav|
|00002980| 65 20 61 63 63 65 73 73 | 20 74 6f 20 61 20 4e 65 |e access| to a Ne|
|00002990| 58 54 20 63 6f 6d 70 75 | 74 65 72 20 73 79 73 74 |XT compu|ter syst|
|000029a0| 65 6d 2e 0d 03 ad fc 00 | 4f 01 cd 00 4f 00 0e 01 |em......|O...O...|
|000029b0| 7c 05 74 f7 0d fc 00 48 | 01 cd 00 48 00 0e 01 7c ||.t....H|...H...||
|000029c0| 05 74 f7 ff 00 15 10 01 | f7 47 72 61 70 68 69 63 |.t......|.Graphic|
|000029d0| 61 6c 20 46 65 65 64 62 | 61 63 6b ff 00 15 0a 00 |al Feedb|ack.....|
|000029e0| f7 0d fc 00 4f 01 cd 00 | 4f 00 0e 01 7c 05 74 f7 |....O...|O...|.t.|
|000029f0| 0d fc 00 6c 01 cd 00 6c | 00 0e 05 74 f7 4f 6e 65 |...l...l|...t.One|
|00002a00| 20 6f 66 20 74 68 65 20 | 67 6f 61 6c 73 20 6f 66 | of the |goals of|
|00002a10| 20 74 68 69 73 20 74 65 | 78 74 20 69 73 20 74 6f | this te|xt is to|
|00002a20| 20 71 75 69 63 6b 6c 79 | 20 67 65 74 20 74 68 65 | quickly| get the|
|00002a30| 20 72 65 61 64 65 72 20 | 74 6f 20 74 68 65 20 73 | reader |to the s|
|00002a40| 74 61 67 65 20 77 68 65 | 72 65 20 74 68 65 79 20 |tage whe|re they |
|00002a50| 63 61 6e 20 64 72 61 77 | 20 61 20 6c 69 6e 65 20 |can draw| a line |
|00002a60| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2e 20 20 |on the s|creen. |
|00002a70| 4f 6e 63 65 20 74 68 65 | 79 20 63 61 6e 20 64 6f |Once the|y can do|
|00002a80| 20 74 68 69 73 20 61 6e | 64 20 68 6f 6f 6b 20 75 | this an|d hook u|
|00002a90| 70 20 63 6f 6e 74 72 6f | 6c 73 20 77 68 69 63 68 |p contro|ls which|
|00002aa0| 20 63 68 61 6e 67 65 20 | 74 68 65 20 64 72 61 77 | change |the draw|
|00002ab0| 69 6e 67 20 74 68 65 79 | 20 67 65 74 20 69 6d 6d |ing they| get imm|
|00002ac0| 65 64 69 61 74 65 20 67 | 72 61 70 68 69 63 61 6c |ediate g|raphical|
|00002ad0| 20 66 65 65 64 62 61 63 | 6b 2e 20 20 54 68 69 73 | feedbac|k. This|
|00002ae0| 20 66 65 65 64 62 61 63 | 6b 20 67 69 76 65 73 20 | feedbac|k gives |
|00002af0| 69 6d 6d 65 64 69 61 74 | 65 20 70 6f 73 69 74 69 |immediat|e positi|
|00002b00| 76 65 20 72 65 69 6e 66 | 6f 72 63 65 6d 65 6e 74 |ve reinf|orcement|
|00002b10| 20 61 73 20 74 68 65 79 | 20 72 65 61 63 68 20 65 | as they| reach e|
|00002b20| 61 63 68 20 73 74 61 67 | 65 2e 0d fc 00 4f 01 cd |ach stag|e....O..|
|00002b30| 00 4f 00 0e 01 7c 05 74 | f7 0d fc 00 49 01 cd 00 |.O...|.t|....I...|
|00002b40| 49 00 0e 01 7c 05 74 f7 | ff 00 15 10 01 f7 45 78 |I...|.t.|......Ex|
|00002b50| 65 72 63 69 73 65 73 ff | 00 15 0a 00 f7 0d fc 00 |ercises.|........|
|00002b60| 4f 01 cd 00 4f 00 0e 01 | 7c 05 74 f7 0d fc 00 6c |O...O...||.t....l|
|00002b70| 01 cd 00 6c 00 0e 05 74 | f7 41 74 20 74 68 65 20 |...l...t|.At the |
|00002b80| 65 6e 64 20 6f 66 20 65 | 61 63 68 20 63 68 61 70 |end of e|ach chap|
|00002b90| 74 65 72 20 69 73 20 61 | 20 73 65 74 20 6f 66 20 |ter is a| set of |
|00002ba0| 65 78 65 72 63 69 73 65 | 73 2e 20 20 54 68 65 79 |exercise|s. They|
|00002bb0| 20 62 65 67 69 6e 20 77 | 69 74 68 20 73 6f 6d 65 | begin w|ith some|
|00002bc0| 20 76 65 72 79 20 73 69 | 6d 70 6c 65 20 65 78 65 | very si|mple exe|
|00002bd0| 72 63 69 73 65 73 20 77 | 68 69 63 68 20 63 61 6e |rcises w|hich can|
|00002be0| 20 62 65 20 75 73 65 64 | 20 74 6f 20 69 6c 6c 75 | be used| to illu|
|00002bf0| 73 74 72 61 74 65 20 74 | 68 65 20 6d 61 6a 6f 72 |strate t|he major|
|00002c00| 20 70 6f 69 6e 74 73 20 | 6f 66 20 65 61 63 68 20 | points |of each |
|00002c10| 63 68 61 70 74 65 72 2e | 20 20 45 78 65 72 63 69 |chapter.| Exerci|
|00002c20| 73 65 73 20 77 69 74 68 | 20 61 6e 20 61 73 74 65 |ses with| an aste|
|00002c30| 72 69 73 6b 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 |risk fol|lowing t|
|00002c40| 68 65 6d 20 61 72 65 20 | 71 75 65 73 74 69 6f 6e |hem are |question|
|00002c50| 73 20 64 65 73 69 67 6e | 65 64 20 74 6f 20 65 6e |s design|ed to en|
|00002c60| 63 6f 75 72 61 67 65 20 | 74 68 65 20 72 65 61 64 |courage |the read|
|00002c70| 65 72 20 65 78 74 72 61 | 70 6f 6c 61 74 65 20 74 |er extra|polate t|
|00002c80| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 67 |he infor|mation g|
|00002c90| 69 76 65 6e 20 69 6e 20 | 65 61 63 68 20 73 65 63 |iven in |each sec|
|00002ca0| 74 69 6f 6e 20 61 6e 64 | 20 69 6e 74 65 67 72 61 |tion and| integra|
|00002cb0| 74 65 20 69 74 20 77 69 | 74 68 20 6f 74 68 65 72 |te it wi|th other|
|00002cc0| 20 63 68 61 70 74 65 72 | 73 2e 20 20 54 68 65 73 | chapter|s. Thes|
|00002cd0| 65 20 65 78 65 72 63 69 | 73 65 73 20 63 61 6e 20 |e exerci|ses can |
|00002ce0| 61 6c 73 6f 20 74 61 6b | 65 20 61 20 63 6f 6e 73 |also tak|e a cons|
|00002cf0| 69 64 65 72 61 62 6c 65 | 20 61 6d 6f 75 6e 74 20 |iderable| amount |
|00002d00| 6f 66 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 74 69 |of addit|ional ti|
|00002d10| 6d 65 2e 0d 0d fc 00 4f | 01 cd 00 4f 00 0e 01 7c |me.....O|...O...||
|00002d20| 05 74 f7 0d fc 00 4a 01 | cd 00 4a 00 0e 01 7c 05 |.t....J.|..J...|.|
|00002d30| 74 f7 ff 00 15 10 01 f7 | 43 68 61 70 74 65 72 20 |t.......|Chapter |
|00002d40| 62 79 20 43 68 61 70 74 | 65 72 20 53 75 6d 6d 61 |by Chapt|er Summa|
|00002d50| 72 79 0d 01 a6 fc 00 6c | 01 cd 00 6c 00 0e 01 7c |ry.....l|...l...||
|00002d60| 05 74 f7 0d ff 00 15 0a | 01 f7 33 2e 20 48 65 6c |.t......|..3. Hel|
|00002d70| 6c 6f 20 57 6f 72 6c 64 | 3a 20 43 72 65 61 74 69 |lo World|: Creati|
|00002d80| 6e 67 20 61 20 4e 65 77 | 20 4f 62 6a 65 63 74 ff |ng a New| Object.|
|00002d90| 00 15 0a 00 f7 0d 0d 49 | 6e 20 74 68 69 73 20 63 |.......I|n this c|
|00002da0| 68 61 70 74 65 72 20 77 | 65 20 63 72 65 61 74 65 |hapter w|e create|
|00002db0| 20 61 20 73 69 6d 70 6c | 65 20 70 72 6f 67 72 61 | a simpl|e progra|
|00002dc0| 6d 20 77 68 69 63 68 20 | 68 61 73 20 6f 6e 65 20 |m which |has one |
|00002dd0| 62 75 74 74 6f 6e 2e 20 | 57 68 65 6e 20 70 72 65 |button. |When pre|
|00002de0| 73 73 65 64 20 74 68 65 | 20 62 75 74 74 6f 6e 20 |ssed the| button |
|00002df0| 77 69 6c 6c 20 70 72 69 | 6e 74 20 6f 75 74 20 74 |will pri|nt out t|
|00002e00| 68 65 20 6d 65 73 73 61 | 67 65 3a 20 22 48 65 6c |he messa|ge: "Hel|
|00002e10| 6c 6f 20 57 6f 72 6c 64 | 22 20 69 6e 20 61 20 55 |lo World|" in a U|
|00002e20| 4e 49 58 20 73 68 65 6c | 6c 2e 20 20 54 68 69 73 |NIX shel|l. This|
|00002e30| 20 69 73 20 6f 66 74 65 | 6e 20 6f 6e 65 20 6f 66 | is ofte|n one of|
|00002e40| 20 74 68 65 20 6d 6f 73 | 74 20 63 6f 6e 66 75 73 | the mos|t confus|
|00002e50| 69 6e 67 20 73 65 63 74 | 69 6f 6e 73 20 74 6f 20 |ing sect|ions to |
|00002e60| 67 65 74 20 74 68 72 6f | 75 67 68 20 62 65 63 61 |get thro|ugh beca|
|00002e70| 75 73 65 20 69 74 20 69 | 6e 76 6f 6c 76 65 73 20 |use it i|nvolves |
|00002e80| 61 70 70 72 6f 78 69 6d | 61 74 65 6c 79 20 74 77 |approxim|ately tw|
|00002e90| 65 6e 74 79 20 6d 6f 75 | 73 65 20 65 76 65 6e 74 |enty mou|se event|
|00002ea0| 73 2e 20 20 54 68 65 20 | 74 68 65 6f 72 79 20 62 |s. The |theory b|
|00002eb0| 65 68 69 6e 64 20 6f 75 | 72 20 61 63 74 69 6f 6e |ehind ou|r action|
|00002ec0| 73 20 74 68 69 73 20 63 | 68 61 70 74 65 72 20 69 |s this c|hapter i|
|00002ed0| 73 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 64 |s descri|bed in d|
|00002ee0| 65 74 61 69 6c 20 69 6e | 20 74 68 65 20 6e 65 78 |etail in| the nex|
|00002ef0| 74 20 63 68 61 70 74 65 | 72 2e 0d 03 12 ff 00 15 |t chapte|r.......|
|00002f00| 0a 00 f7 fc 00 4f 01 cd | 00 4f 00 0e 01 7c 05 74 |.....O..|.O...|.t|
|00002f10| f7 0d fc 00 6c 01 cd 00 | 6c 00 0e 05 74 f7 49 20 |....l...|l...t.I |
|00002f20| 68 61 76 65 20 73 74 72 | 75 67 67 6c 65 64 20 77 |have str|uggled w|
|00002f30| 69 74 68 20 74 68 65 20 | 6f 72 64 65 72 20 6f 66 |ith the |order of|
|00002f40| 20 6d 61 74 65 72 69 61 | 6c 73 20 66 6f 72 20 74 | materia|ls for t|
|00002f50| 68 69 73 20 62 6f 6f 6b | 20 66 6f 72 20 6d 61 6e |his book| for man|
|00002f60| 79 20 68 6f 75 72 73 2e | 20 20 54 68 65 20 64 69 |y hours.| The di|
|00002f70| 6c 65 6d 6d 61 20 69 73 | 20 22 53 68 6f 75 6c 64 |lemma is| "Should|
|00002f80| 20 74 68 65 20 74 65 64 | 69 6f 75 73 20 62 75 74 | the ted|ious but|
|00002f90| 20 65 73 73 65 6e 74 69 | 61 6c 20 74 68 65 6f 72 | essenti|al theor|
|00002fa0| 79 20 70 61 72 74 20 67 | 6f 20 66 69 72 73 74 20 |y part g|o first |
|00002fb0| 6f 72 20 77 69 6c 6c 20 | 74 68 69 73 20 73 63 61 |or will |this sca|
|00002fc0| 72 65 20 6f 66 66 20 74 | 6f 6f 20 6d 61 6e 79 20 |re off t|oo many |
|00002fd0| 70 65 6f 70 6c 65 3f 22 | 20 20 49 6e 20 74 68 65 |people?"| In the|
|00002fe0| 20 65 6e 64 20 49 20 68 | 61 76 65 20 63 68 6f 73 | end I h|ave chos|
|00002ff0| 65 6e 20 74 6f 20 6d 69 | 78 20 69 6e 20 62 69 74 |en to mi|x in bit|
|00003000| 20 6f 66 20 22 64 6f 69 | 6e 67 20 62 75 74 20 6e | of "doi|ng but n|
|00003010| 6f 74 20 66 75 6c 6c 79 | 20 75 6e 64 65 72 73 74 |ot fully| underst|
|00003020| 61 6e 64 69 6e 67 22 20 | 61 73 20 74 68 65 20 73 |anding" |as the s|
|00003030| 65 63 6f 6e 64 20 63 68 | 61 70 74 65 72 20 62 65 |econd ch|apter be|
|00003040| 66 6f 72 65 20 49 20 74 | 72 75 64 67 65 20 74 68 |fore I t|rudge th|
|00003050| 72 6f 75 67 68 20 74 68 | 65 20 6d 6f 72 65 20 74 |rough th|e more t|
|00003060| 68 65 6f 72 65 74 69 63 | 61 6c 20 63 68 61 70 74 |heoretic|al chapt|
|00003070| 65 72 73 20 77 68 69 63 | 68 20 66 6f 6c 6c 6f 77 |ers whic|h follow|
|00003080| 2e 0d fc 00 6c 01 cd 00 | 6c 00 0e 01 7c 05 74 f7 |....l...|l...|.t.|
|00003090| 0d ff 00 15 0a 01 f7 31 | 2e 20 49 6e 74 72 6f 64 |.......1|. Introd|
|000030a0| 75 63 74 69 6f 6e ff 00 | 15 0a 00 f7 0d 0d fc 00 |uction..|........|
|000030b0| 6c 01 cd 00 6c 00 0e 05 | 74 f7 54 68 69 73 20 63 |l...l...|t.This c|
|000030c0| 68 61 70 74 65 72 20 63 | 6f 76 65 72 73 20 74 68 |hapter c|overs th|
|000030d0| 65 20 22 77 68 79 22 20 | 6f 66 20 6f 62 6a 65 63 |e "why" |of objec|
|000030e0| 74 20 62 61 73 65 20 70 | 72 6f 67 72 61 6d 6d 69 |t base p|rogrammi|
|000030f0| 6e 67 2e 20 20 49 74 20 | 67 69 76 65 20 61 20 68 |ng. It |give a h|
|00003100| 69 73 74 6f 72 69 63 61 | 6c 20 70 65 72 73 70 65 |istorica|l perspe|
|00003110| 63 74 69 76 65 20 6f 66 | 20 6f 75 72 20 6d 6f 76 |ctive of| our mov|
|00003120| 65 6d 65 6e 74 20 69 6e | 74 6f 20 74 68 65 20 69 |ement in|to the i|
|00003130| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 67 65 20 61 |nformati|on age a|
|00003140| 6e 64 20 68 6f 77 20 6f | 62 6a 65 63 74 20 62 61 |nd how o|bject ba|
|00003150| 73 65 64 20 63 6f 6d 70 | 75 74 69 6e 67 20 66 65 |sed comp|uting fe|
|00003160| 61 74 75 72 65 73 20 70 | 72 6f 76 69 64 65 20 62 |atures p|rovide b|
|00003170| 65 6e 65 66 69 74 73 20 | 66 6f 72 20 69 6e 66 6f |enefits |for info|
|00003180| 72 6d 61 74 69 6f 6e 20 | 6d 61 6e 61 67 65 72 73 |rmation |managers|
|00003190| 2e 20 20 54 68 69 73 20 | 63 68 61 70 74 65 72 20 |. This |chapter |
|000031a0| 20 69 73 20 69 6d 70 6f | 72 74 61 6e 74 20 62 65 | is impo|rtant be|
|000031b0| 63 61 75 73 65 20 69 74 | 20 70 72 6f 76 69 64 65 |cause it| provide|
|000031c0| 73 20 61 20 62 61 63 6b | 67 72 6f 75 6e 64 20 66 |s a back|ground f|
|000031d0| 6f 72 20 73 65 76 65 72 | 61 6c 20 71 75 65 73 74 |or sever|al quest|
|000031e0| 69 6f 6e 73 20 77 68 69 | 63 68 20 77 69 6c 6c 20 |ions whi|ch will |
|000031f0| 62 65 20 61 6e 73 77 65 | 72 65 64 20 6c 61 74 65 |be answe|red late|
|00003200| 72 20 69 6e 20 74 68 65 | 20 74 65 78 74 2e 0d 02 |r in the| text...|
|00003210| 61 fc 00 4f 01 cd 00 4f | 00 0e 01 7c 05 74 f7 0d |a..O...O|...|.t..|
|00003220| fc 00 49 01 cd 00 49 00 | 0e 05 74 f7 ff 00 15 10 |..I...I.|..t.....|
|00003230| 01 f7 50 61 72 74 20 49 | 3a 20 54 68 65 20 46 6f |..Part I|: The Fo|
|00003240| 75 6e 64 61 74 69 6f 6e | 73 20 6f 66 20 4f 62 6a |undation|s of Obj|
|00003250| 65 63 74 20 4f 72 69 65 | 6e 74 65 64 20 50 72 6f |ect Orie|nted Pro|
|00003260| 67 72 61 6d 6d 69 6e 67 | ff 00 15 0a 00 f7 0d 0d |gramming|........|
|00003270| fc 00 6c 01 cd 00 6c 00 | 0e 05 74 f7 ff 00 15 0a |..l...l.|..t.....|
|00003280| 01 f7 32 2e 20 41 20 54 | 6f 75 72 20 6f 66 20 20 |..2. A T|our of |
|00003290| 74 68 65 20 49 6e 74 65 | 72 66 61 63 65 20 42 75 |the Inte|rface Bu|
|000032a0| 69 6c 64 65 72 ff 00 15 | 0a 00 f7 0d fc 00 4f 01 |ilder...|......O.|
|000032b0| cd 00 4f 00 0e 01 7c 05 | 74 f7 0d fc 00 6c 01 cd |..O...|.|t....l..|
|000032c0| 00 6c 00 0e 02 40 05 74 | f7 4f 75 72 20 67 6f 61 |.l...@.t|.Our goa|
|000032d0| 6c 20 69 73 20 74 6f 20 | 63 72 65 61 74 65 20 61 |l is to |create a|
|000032e0| 20 73 69 6d 70 6c 65 20 | 70 72 6f 67 72 61 6d 20 | simple |program |
|000032f0| 77 68 69 63 68 20 68 61 | 73 20 6d 61 6e 79 20 6f |which ha|s many o|
|00003300| 66 20 74 68 65 20 6f 62 | 6a 65 63 74 73 20 75 73 |f the ob|jects us|
|00003310| 65 64 20 69 6e 20 63 72 | 65 61 74 69 6e 67 20 75 |ed in cr|eating u|
|00003320| 73 65 72 20 69 6e 74 65 | 72 66 61 63 65 73 2e 20 |ser inte|rfaces. |
|00003330| 20 54 68 69 73 20 69 6e | 63 6c 75 64 65 73 20 62 | This in|cludes b|
|00003340| 75 74 74 6f 6e 73 2c 20 | 73 6c 69 64 65 72 73 2c |uttons, |sliders,|
|00003350| 20 61 20 62 6f 78 20 77 | 69 74 68 20 66 6f 72 6d | a box w|ith form|
|00003360| 73 2c 20 73 63 72 6f 6c | 6c 69 6e 67 20 74 65 78 |s, scrol|ling tex|
|00003370| 74 2c 20 61 6e 64 20 73 | 6f 75 6e 64 2e 20 20 41 |t, and s|ound. A|
|00003380| 66 74 65 72 20 77 65 20 | 70 6c 61 63 65 20 74 68 |fter we |place th|
|00003390| 65 73 65 20 6f 62 6a 65 | 63 74 73 20 6f 6e 20 74 |ese obje|cts on t|
|000033a0| 68 65 20 73 63 72 65 65 | 6e 20 77 65 20 77 69 6c |he scree|n we wil|
|000033b0| 6c 20 63 6f 6e 6e 65 63 | 74 20 74 68 65 6d 20 74 |l connec|t them t|
|000033c0| 6f 67 65 74 68 65 72 20 | 61 6e 64 20 6d 6f 64 69 |ogether |and modi|
|000033d0| 66 79 20 74 68 65 69 72 | 20 69 6e 69 74 69 61 6c |fy their| initial|
|000033e0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 2e 20 54 68 65 | conditi|ons. The|
|000033f0| 20 66 69 72 73 74 20 66 | 69 76 65 20 63 68 61 70 | first f|ive chap|
|00003400| 74 65 72 73 20 6f 66 20 | 74 68 69 73 20 62 6f 6f |ters of |this boo|
|00003410| 6b 20 77 69 6c 6c 20 62 | 65 20 74 6f 20 65 78 70 |k will b|e to exp|
|00003420| 6c 61 69 6e 20 77 68 61 | 74 20 77 65 20 61 72 65 |lain wha|t we are|
|00003430| 20 72 65 61 6c 6c 79 20 | 64 6f 69 6e 67 20 61 6e | really |doing an|
|00003440| 64 20 68 6f 77 20 77 65 | 20 77 69 6c 6c 20 65 78 |d how we| will ex|
|00003450| 74 65 6e 64 20 61 6e 64 | 20 69 6e 74 65 67 72 61 |tend and| integra|
|00003460| 74 65 20 74 68 65 73 65 | 20 6f 62 6a 65 63 74 73 |te these| objects|
|00003470| 2e 0d 03 7e 0d ff 00 15 | 0a 01 f7 36 2e 20 45 76 |...~....|...6. Ev|
|00003480| 65 6e 74 73 f9 00 f7 ff | 00 15 0a 00 f7 0d 0d 49 |ents....|.......I|
|00003490| 6e 20 74 68 69 73 20 65 | 78 65 72 63 69 73 65 20 |n this e|xercise |
|000034a0| 77 65 20 63 72 65 61 74 | 65 20 74 77 6f 20 62 75 |we creat|e two bu|
|000034b0| 74 74 6f 6e 73 20 77 68 | 69 63 68 20 73 65 6e 64 |ttons wh|ich send|
|000034c0| 20 6d 65 73 73 61 67 65 | 73 20 74 6f 20 61 20 6f | message|s to a o|
|000034d0| 62 6a 65 63 74 20 74 68 | 61 74 20 64 69 73 70 6c |bject th|at displ|
|000034e0| 61 79 73 20 61 20 73 69 | 6e 67 6c 65 20 69 6e 74 |ays a si|ngle int|
|000034f0| 65 67 65 72 2e 20 20 4f | 6e 65 20 62 75 74 74 6f |eger. O|ne butto|
|00003500| 6e 20 69 6e 63 72 65 6d | 65 6e 74 73 20 74 68 65 |n increm|ents the|
|00003510| 20 69 6e 74 65 67 65 72 | 20 61 6e 64 20 74 68 65 | integer| and the|
|00003520| 20 6f 74 68 65 72 20 64 | 65 63 72 65 6d 65 6e 74 | other d|ecrement|
|00003530| 73 20 74 68 65 20 69 6e | 74 65 67 65 72 2e 20 20 |s the in|teger. |
|00003540| 20 54 68 69 73 20 77 65 | 20 77 69 6c 6c 20 75 73 | This we| will us|
|00003550| 65 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |e to cha|nge the |
|00003560| 69 6e 74 65 72 6e 61 6c | 20 73 74 61 74 65 20 6f |internal| state o|
|00003570| 66 20 61 6e 20 6f 62 6a | 65 63 74 2e 0d 0d ff 00 |f an obj|ect.....|
|00003580| 15 0a 01 f7 37 2e 20 49 | 6e 69 74 69 61 6c 69 7a |....7. I|nitializ|
|00003590| 69 6e 67 20 4f 62 6a 65 | 63 74 73 f9 00 f7 ff 00 |ing Obje|cts.....|
|000035a0| 15 0a 00 f7 0d 0d 57 68 | 65 6e 20 77 65 20 63 72 |......Wh|en we cr|
|000035b0| 65 61 74 65 20 6e 65 77 | 20 6f 62 6a 65 63 74 73 |eate new| objects|
|000035c0| 20 77 65 20 68 61 76 65 | 20 63 6f 6e 74 72 6f 6c | we have| control|
|000035d0| 20 6f 76 65 72 20 74 68 | 65 69 72 20 69 6e 69 74 | over th|eir init|
|000035e0| 69 61 6c 20 73 74 61 74 | 65 73 20 62 79 20 63 6f |ial stat|es by co|
|000035f0| 6e 74 72 6f 6c 6c 69 6e | 67 20 74 68 65 20 66 61 |ntrollin|g the fa|
|00003600| 63 74 6f 72 79 20 74 68 | 61 74 20 70 72 6f 64 75 |ctory th|at produ|
|00003610| 63 65 73 20 74 68 65 20 | 6f 62 6a 65 63 74 73 2e |ces the |objects.|
|00003620| 20 20 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 75 | This e|xample u|
|00003630| 73 65 73 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ses the |previous|
|00003640| 20 65 78 61 6d 70 6c 65 | 20 62 75 74 20 61 64 64 | example| but add|
|00003650| 73 20 61 20 73 65 63 74 | 69 6f 6e 20 77 68 69 63 |s a sect|ion whic|
|00003660| 68 20 61 6c 6c 6f 77 73 | 20 75 73 20 74 6f 20 69 |h allows| us to i|
|00003670| 6e 69 74 69 61 6c 69 7a | 65 20 74 68 65 20 73 74 |nitializ|e the st|
|00003680| 61 74 65 20 6f 66 20 74 | 68 65 20 6f 62 6a 65 63 |ate of t|he objec|
|00003690| 74 2e 0d 0d ff 00 15 0a | 01 f7 38 2e 20 53 69 6d |t.......|..8. Sim|
|000036a0| 70 6c 65 20 44 72 61 77 | 69 6e 67 ff 00 15 0a 00 |ple Draw|ing.....|
|000036b0| f7 0d 0d 54 68 69 73 20 | 63 68 61 70 74 65 72 20 |...This |chapter |
|000036c0| 61 6c 6c 6f 77 73 20 75 | 73 20 74 6f 20 69 6e 74 |allows u|s to int|
|000036d0| 65 67 72 61 74 65 20 69 | 6e 68 65 72 69 74 61 6e |egrate i|nheritan|
|000036e0| 63 65 20 61 6e 64 20 64 | 72 61 77 69 6e 67 20 69 |ce and d|rawing i|
|000036f0| 6e 74 6f 20 61 20 73 69 | 6d 70 6c 65 20 70 72 6f |nto a si|mple pro|
|00003700| 67 72 61 6d 20 77 68 69 | 63 68 20 64 72 61 77 73 |gram whi|ch draws|
|00003710| 20 61 20 6c 69 6e 65 20 | 6f 6e 20 74 68 65 20 73 | a line |on the s|
|00003720| 63 72 65 65 6e 2e 20 20 | 57 65 20 74 68 65 6e 20 |creen. |We then |
|00003730| 73 68 6f 77 20 68 6f 77 | 20 77 65 20 63 61 6e 20 |show how| we can |
|00003740| 61 64 64 20 61 20 73 6c | 69 64 65 72 20 74 6f 20 |add a sl|ider to |
|00003750| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 70 72 6f |the prev|ious pro|
|00003760| 67 72 61 6d 20 61 6e 64 | 20 68 61 76 65 20 74 68 |gram and| have th|
|00003770| 65 20 73 6c 69 64 65 72 | 20 75 70 64 61 74 65 20 |e slider| update |
|00003780| 61 20 69 6e 73 74 61 6e | 63 65 20 76 61 72 69 61 |a instan|ce varia|
|00003790| 62 6c 65 20 77 68 69 63 | 68 20 69 6e 20 74 75 72 |ble whic|h in tur|
|000037a0| 6e 20 77 69 6c 6c 20 63 | 68 61 6e 67 65 20 74 68 |n will c|hange th|
|000037b0| 65 20 77 61 79 20 77 65 | 20 64 72 61 77 20 61 20 |e way we| draw a |
|000037c0| 6c 69 6e 65 20 74 6f 20 | 74 68 65 20 73 63 72 65 |line to |the scre|
|000037d0| 65 6e 2e 0d 0d 0d ff 00 | 15 0a 01 f7 39 2e 20 4d |en......|....9. M|
|000037e0| 6f 72 65 20 44 72 61 77 | 69 6e 67 ff 00 15 0a 00 |ore Draw|ing.....|
|000037f0| f7 0d 02 2e 0d 54 68 69 | 73 20 63 68 61 70 74 65 |.....Thi|s chapte|
|00003800| 72 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 73 20 68 |r demons|trates h|
|00003810| 6f 77 20 77 65 20 69 6e | 69 74 69 61 6c 69 7a 65 |ow we in|itialize|
|00003820| 20 64 61 74 61 20 77 69 | 74 68 69 6e 20 61 20 76 | data wi|thin a v|
|00003830| 69 65 77 20 61 73 20 77 | 65 6c 6c 20 61 73 20 73 |iew as w|ell as s|
|00003840| 68 6f 77 20 68 6f 77 20 | 77 65 20 63 61 6e 20 63 |how how |we can c|
|00003850| 72 65 61 74 65 20 22 77 | 72 61 70 73 22 20 66 6f |reate "w|raps" fo|
|00003860| 72 20 66 69 6c 65 73 20 | 77 69 74 68 20 50 6f 73 |r files |with Pos|
|00003870| 74 53 63 72 69 70 74 20 | 63 6f 6d 6d 61 6e 64 73 |tScript |commands|
|00003880| 2e 0d 0d ff 00 15 0a 01 | f7 31 30 2e 20 53 68 61 |........|.10. Sha|
|00003890| 72 69 6e 67 20 4f 62 6a | 65 63 74 73 3a 20 54 68 |ring Obj|ects: Th|
|000038a0| 65 20 67 75 61 67 65 20 | 65 78 61 6d 70 6c 65 ff |e guage |example.|
|000038b0| 00 15 0a 00 f7 0d 0d 54 | 68 69 73 20 63 68 61 70 |.......T|his chap|
|000038c0| 74 65 72 20 6d 6f 64 69 | 66 69 65 73 20 74 68 65 |ter modi|fies the|
|000038d0| 20 70 72 65 76 69 6f 75 | 73 20 70 72 6f 67 72 61 | previou|s progra|
|000038e0| 6d 20 61 67 61 69 6e 20 | 61 6e 64 20 61 6c 6c 6f |m again |and allo|
|000038f0| 77 73 20 75 73 20 74 6f | 20 63 72 65 61 74 65 20 |ws us to| create |
|00003900| 61 20 73 69 6d 70 6c 65 | 20 63 69 72 63 75 6c 61 |a simple| circula|
|00003910| 72 20 67 61 75 67 65 20 | 6f 62 6a 65 63 74 2e 20 |r gauge |object. |
|00003920| 20 4f 6e 63 65 20 77 65 | 20 63 72 65 61 74 65 20 | Once we| create |
|00003930| 61 20 73 69 6d 70 6c 65 | 20 6f 62 6a 65 63 74 20 |a simple| object |
|00003940| 77 65 20 63 61 6e 20 72 | 65 2d 75 73 65 20 69 74 |we can r|e-use it|
|00003950| 2e 20 20 57 65 20 61 6c | 73 6f 20 73 68 6f 77 20 |. We al|so show |
|00003960| 68 6f 77 20 77 65 20 63 | 61 6e 20 75 73 65 20 69 |how we c|an use i|
|00003970| 6e 68 65 72 69 74 65 64 | 20 76 61 6c 75 65 73 20 |nherited| values |
|00003980| 73 75 63 68 20 61 73 20 | 74 68 65 20 56 69 65 77 |such as |the View|
|00003990| 27 73 20 22 62 6f 75 6e | 64 73 22 20 61 6e 64 20 |'s "boun|ds" and |
|000039a0| 61 6c 6c 6f 77 20 75 73 | 20 74 6f 20 74 72 61 6e |allow us| to tran|
|000039b0| 73 6c 61 74 65 20 61 6e | 64 20 72 6f 74 61 74 65 |slate an|d rotate|
|000039c0| 20 6f 75 72 20 63 6f 6f | 72 64 69 6e 61 74 65 20 | our coo|rdinate |
|000039d0| 73 79 73 74 65 6d 20 74 | 6f 20 6d 61 6b 65 20 61 |system t|o make a|
|000039e0| 20 72 6f 74 61 74 69 6e | 67 20 67 61 75 67 65 20 | rotatin|g gauge |
|000039f0| 65 61 73 69 65 72 2e 20 | 20 41 20 50 69 65 43 68 |easier. | A PieCh|
|00003a00| 61 72 74 20 65 78 61 6d | 70 6c 65 20 70 72 6f 67 |art exam|ple prog|
|00003a10| 72 61 6d 20 69 73 20 61 | 6c 73 6f 20 75 73 65 64 |ram is a|lso used|
|00003a20| 2e 0d 03 37 0d 0d fc 00 | 48 01 cd 00 48 00 0e 05 |...7....|H...H...|
|00003a30| 74 f7 ff 00 15 10 01 f7 | 50 61 72 74 20 49 49 3a |t.......|Part II:|
|00003a40| 20 42 75 69 6c 64 69 6e | 67 20 74 6f 20 79 6f 75 | Buildin|g to you|
|00003a50| 72 20 4e 65 78 74 53 74 | 65 70 20 56 6f 63 61 62 |r NextSt|ep Vocab|
|00003a60| 75 6c 61 72 79 ff 00 15 | 0a 00 f7 0d fc 00 6c 01 |ulary...|......l.|
|00003a70| cd 00 6c 00 0e 01 7c 05 | 74 f7 0d 50 61 72 74 20 |..l...|.|t..Part |
|00003a80| 49 49 20 65 78 70 61 6e | 64 73 20 6f 6e 20 74 68 |II expan|ds on th|
|00003a90| 65 20 69 6e 74 72 6f 64 | 75 63 74 6f 72 79 20 63 |e introd|uctory c|
|00003aa0| 6f 6e 63 65 70 74 73 20 | 6c 65 61 72 6e 65 64 20 |oncepts |learned |
|00003ab0| 65 61 72 6c 69 65 72 20 | 62 79 20 67 69 76 69 6e |earlier |by givin|
|00003ac0| 67 20 74 68 65 20 72 65 | 61 64 65 72 20 61 20 74 |g the re|ader a t|
|00003ad0| 6f 75 72 20 6f 66 20 61 | 64 64 69 74 69 6f 6e 61 |our of a|dditiona|
|00003ae0| 6c 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 4b 69 |l Applic|ation Ki|
|00003af0| 74 20 6f 62 6a 65 63 74 | 73 2e 0d ff 00 15 0a 01 |t object|s.......|
|00003b00| f7 0d 31 31 2e 20 55 73 | 69 6e 67 20 74 68 65 20 |..11. Us|ing the |
|00003b10| 50 61 73 74 65 62 6f 61 | 72 64 0d ff 00 15 0a 00 |Pasteboa|rd......|
|00003b20| f7 0d 41 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 |..A samp|le progr|
|00003b30| 61 6d 20 77 68 69 63 68 | 20 61 6c 6c 6f 77 73 20 |am which| allows |
|00003b40| 74 68 65 20 75 73 65 72 | 20 74 6f 20 63 6f 70 79 |the user| to copy|
|00003b50| 20 67 72 61 70 68 69 63 | 73 20 69 6e 74 6f 20 74 | graphic|s into t|
|00003b60| 68 65 20 70 61 73 74 65 | 62 6f 61 72 64 2e 20 20 |he paste|board. |
|00003b70| 54 68 65 79 20 63 61 6e | 20 74 68 65 6e 20 62 65 |They can| then be|
|00003b80| 20 70 61 73 74 65 64 20 | 64 69 72 65 63 74 6c 79 | pasted |directly|
|00003b90| 20 69 6e 74 6f 20 74 68 | 65 20 77 6f 72 64 20 70 | into th|e word p|
|00003ba0| 72 6f 63 65 73 73 6f 72 | 2e 0d ff 00 15 0a 01 f7 |rocessor|........|
|00003bb0| 0d 0d 31 32 2e 20 53 70 | 65 61 6b 65 72 20 61 6e |..12. Sp|eaker an|
|00003bc0| 64 20 4c 69 73 74 65 6e | 65 72 3a 20 43 6f 6d 6d |d Listen|er: Comm|
|00003bd0| 75 6e 69 63 61 74 69 6e | 67 20 57 69 74 68 20 4f |unicatin|g With O|
|00003be0| 74 68 65 72 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |ther App|lication|
|00003bf0| 73 0d ff 00 15 0a 00 f7 | 0d 54 68 69 73 20 63 68 |s.......|.This ch|
|00003c00| 61 70 74 65 72 20 73 68 | 6f 77 73 20 68 6f 77 20 |apter sh|ows how |
|00003c10| 74 6f 20 73 65 6e 64 20 | 61 6e 64 20 72 65 63 65 |to send |and rece|
|00003c20| 69 76 65 20 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |ive mess|ages to |
|00003c30| 6f 74 68 65 72 20 73 74 | 61 6e 64 61 72 64 20 61 |other st|andard a|
|00003c40| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6b 69 74 20 6f |pplicati|on kit o|
|00003c50| 62 6a 65 63 74 73 2e 20 | 20 45 78 61 6d 70 6c 65 |bjects. | Example|
|00003c60| 73 20 66 6f 72 20 61 64 | 64 69 6e 67 20 73 65 72 |s for ad|ding ser|
|00003c70| 76 69 63 65 73 2e 0d 0d | ff 00 15 0a 01 f7 31 33 |vices...|......13|
|00003c80| 2e 20 53 63 72 6f 6c 6c | 69 6e 67 20 56 69 65 77 |. Scroll|ing View|
|00003c90| 73 0d ff 00 15 0a 00 f7 | 0d 54 68 69 73 20 65 78 |s.......|.This ex|
|00003ca0| 61 6d 70 6c 65 73 20 73 | 68 6f 77 73 20 68 6f 77 |amples s|hows how|
|00003cb0| 20 77 65 20 63 61 6e 20 | 65 61 73 69 6c 79 20 61 | we can |easily a|
|00003cc0| 64 64 20 73 63 72 6f 6c | 6c 69 6e 67 20 6b 6e 6f |dd scrol|ling kno|
|00003cd0| 62 73 20 74 6f 20 61 20 | 76 69 65 77 2e 20 20 57 |bs to a |view. W|
|00003ce0| 65 20 63 61 6e 20 74 68 | 65 6e 20 6d 61 6e 69 70 |e can th|en manip|
|00003cf0| 75 6c 61 74 65 20 76 69 | 65 77 73 20 77 68 69 63 |ulate vi|ews whic|
|00003d00| 68 20 61 72 65 20 6c 61 | 72 67 65 72 20 74 68 65 |h are la|rger the|
|00003d10| 6e 20 74 68 65 20 74 68 | 65 20 73 63 72 65 65 6e |n the th|e screen|
|00003d20| 20 61 72 65 61 20 74 68 | 65 79 20 61 72 65 20 64 | area th|ey are d|
|00003d30| 69 73 70 6c 61 79 65 64 | 20 69 6e 2e 0d 0d ff 00 |isplayed| in.....|
|00003d40| 15 0a 01 f7 31 34 2e 20 | 54 65 78 74 20 4f 62 6a |....14. |Text Obj|
|00003d50| 65 63 74 73 ff 00 15 0a | 00 f7 0d 02 f2 0d 54 68 |ects....|......Th|
|00003d60| 65 20 54 65 78 74 20 6f | 62 6a 65 63 74 20 6f 66 |e Text o|bject of|
|00003d70| 66 65 72 73 20 61 20 72 | 69 63 68 20 76 61 72 69 |fers a r|ich vari|
|00003d80| 74 79 20 6f 66 20 77 61 | 79 73 20 74 6f 20 6d 61 |ty of wa|ys to ma|
|00003d90| 6e 69 70 75 6c 61 74 65 | 20 74 65 78 74 20 69 6e |nipulate| text in|
|00003da0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00003db0| 6e 2e 20 20 54 68 69 73 | 20 63 68 61 70 74 65 72 |n. This| chapter|
|00003dc0| 20 63 6f 76 65 72 73 20 | 62 61 73 69 63 20 66 75 | covers |basic fu|
|00003dd0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 20 6f 66 20 74 |nctional|ity of t|
|00003de0| 68 65 20 54 65 78 74 20 | 6f 62 6a 65 63 74 20 69 |he Text |object i|
|00003df0| 6e 20 61 20 73 69 6d 70 | 6c 65 20 54 65 78 74 20 |n a simp|le Text |
|00003e00| 65 64 69 74 6f 72 20 61 | 73 20 77 65 6c 6c 20 61 |editor a|s well a|
|00003e10| 73 20 73 6f 6d 65 20 6f | 66 20 74 68 65 20 64 65 |s some o|f the de|
|00003e20| 74 61 69 6c 73 20 6e 65 | 65 64 65 64 20 74 6f 20 |tails ne|eded to |
|00003e30| 6d 61 6e 61 67 65 20 74 | 65 78 74 20 66 69 6c 65 |manage t|ext file|
|00003e40| 73 2e 0d 0d ff 00 15 0a | 01 f7 31 35 2e 20 55 73 |s.......|..15. Us|
|00003e50| 69 6e 67 20 53 6f 75 6e | 64 ff 00 15 0a 00 f7 0d |ing Soun|d.......|
|00003e60| 0d 54 68 65 20 53 6f 75 | 6e 64 45 64 69 74 6f 72 |.The Sou|ndEditor|
|00003e70| 20 70 72 6f 67 72 61 6d | 20 69 73 20 75 73 65 64 | program| is used|
|00003e80| 20 61 73 20 61 6e 20 65 | 78 61 6d 70 6c 65 20 6f | as an e|xample o|
|00003e90| 66 20 69 6e 74 65 67 72 | 61 74 69 6e 67 20 73 6f |f integr|ating so|
|00003ea0| 75 6e 64 20 69 6e 74 6f | 20 61 6e 20 61 70 70 6c |und into| an appl|
|00003eb0| 69 63 61 74 69 6f 6e 2e | 0d 0d ff 00 15 0a 01 f7 |ication.|........|
|00003ec0| 31 36 2e 20 54 69 6d 65 | 64 20 45 6e 74 72 69 65 |16. Time|d Entrie|
|00003ed0| 73 ff 00 15 0a 00 f7 0d | 0d 41 20 73 69 6d 70 6c |s.......|.A simpl|
|00003ee0| 65 20 73 74 6f 70 77 61 | 74 63 68 20 69 73 20 75 |e stopwa|tch is u|
|00003ef0| 73 65 64 20 74 6f 20 64 | 65 6d 6f 6e 73 74 72 61 |sed to d|emonstra|
|00003f00| 74 65 20 74 68 61 74 20 | 6e 6f 74 20 61 6c 6c 20 |te that |not all |
|00003f10| 65 76 65 6e 74 73 20 6d | 75 73 74 20 63 6f 6d 65 |events m|ust come|
|00003f20| 20 64 69 72 65 63 74 6c | 79 20 66 72 6f 6d 20 74 | directl|y from t|
|00003f30| 68 65 20 6d 6f 75 73 65 | 20 6f 72 20 6b 65 79 62 |he mouse| or keyb|
|00003f40| 6f 61 72 64 2e 20 20 54 | 69 6d 65 64 20 65 6e 74 |oard. T|imed ent|
|00003f50| 72 69 65 73 20 63 61 75 | 73 65 20 65 76 65 6e 74 |ries cau|se event|
|00003f60| 73 20 74 6f 20 6f 63 63 | 75 72 20 61 74 20 72 65 |s to occ|ur at re|
|00003f70| 67 75 6c 61 72 20 69 6e | 74 65 72 76 61 6c 73 2e |gular in|tervals.|
|00003f80| 20 20 55 73 69 6e 67 20 | 74 69 6d 65 64 20 65 6e | Using |timed en|
|00003f90| 74 72 69 65 73 20 69 73 | 20 69 6d 70 6f 72 74 61 |tries is| importa|
|00003fa0| 6e 74 20 66 6f 72 20 61 | 6e 79 20 6f 62 6a 65 63 |nt for a|ny objec|
|00003fb0| 74 73 20 74 68 61 74 20 | 69 6e 63 6c 75 64 65 20 |ts that |include |
|00003fc0| 61 6e 69 6d 61 74 69 6f | 6e 2e 20 20 54 68 65 20 |animatio|n. The |
|00003fd0| 73 74 6f 70 77 61 74 63 | 68 20 68 61 73 20 6a 75 |stopwatc|h has ju|
|00003fe0| 73 74 20 74 77 6f 20 62 | 75 74 74 6f 6e 73 20 28 |st two b|uttons (|
|00003ff0| 73 74 61 72 74 20 61 6e | 64 20 73 74 6f 70 29 20 |start an|d stop) |
|00004000| 61 6e 64 20 64 69 73 70 | 6c 61 79 73 20 74 68 65 |and disp|lays the|
|00004010| 20 6e 75 6d 62 65 72 20 | 6f 66 20 73 65 63 6f 6e | number |of secon|
|00004020| 64 73 20 74 68 61 74 20 | 68 61 76 65 20 65 6c 61 |ds that |have ela|
|00004030| 70 73 65 64 20 69 6e 20 | 31 2f 31 30 20 73 65 63 |psed in |1/10 sec|
|00004040| 6f 6e 64 20 69 6e 74 65 | 72 76 61 6c 73 2e 0d 03 |ond inte|rvals...|
|00004050| 58 0d 45 78 65 72 63 69 | 73 65 3a 20 41 20 43 68 |X.Exerci|se: A Ch|
|00004060| 72 6f 6e 6f 67 72 61 70 | 68 0d 0d ff 00 15 0a 01 |ronograp|h.......|
|00004070| f7 31 37 2e 20 4d 6f 6e | 69 74 6f 72 69 6e 67 20 |.17. Mon|itoring |
|00004080| 4d 6f 75 73 65 20 4d 6f | 74 69 6f 6e 0d 0d ff 00 |Mouse Mo|tion....|
|00004090| 15 0a 00 f7 54 68 69 73 | 20 63 68 61 70 74 65 72 |....This| chapter|
|000040a0| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 68 6f | demonst|rates ho|
|000040b0| 77 20 74 6f 20 6d 6f 6e | 69 74 6f 72 20 6d 6f 75 |w to mon|itor mou|
|000040c0| 73 65 20 65 76 65 6e 74 | 73 20 6f 76 65 72 20 61 |se event|s over a|
|000040d0| 20 76 69 65 77 2e 20 20 | 54 68 65 20 70 72 6f 67 | view. |The prog|
|000040e0| 72 61 6d 20 77 65 20 62 | 75 69 6c 64 20 77 69 6c |ram we b|uild wil|
|000040f0| 6c 20 64 69 73 70 6c 61 | 79 20 74 68 65 20 78 20 |l displa|y the x |
|00004100| 61 6e 64 20 79 20 6c 6f | 63 61 74 69 6f 6e 20 6f |and y lo|cation o|
|00004110| 66 20 74 68 65 20 6d 6f | 75 73 65 20 77 68 65 6e |f the mo|use when|
|00004120| 20 77 65 20 70 72 65 73 | 73 20 74 68 65 20 6d 6f | we pres|s the mo|
|00004130| 75 73 65 20 62 75 74 74 | 6f 6e 20 69 6e 73 69 64 |use butt|on insid|
|00004140| 65 20 61 20 76 69 65 77 | 20 6f 62 6a 65 63 74 2e |e a view| object.|
|00004150| 0d 0d ff 00 15 0a 01 f7 | 31 38 2e 20 41 6e 69 6d |........|18. Anim|
|00004160| 61 74 69 6f 6e ff 00 15 | 0a 00 f7 0d 0d 54 68 69 |ation...|.....Thi|
|00004170| 73 20 63 68 61 70 74 65 | 72 20 77 69 6c 6c 20 64 |s chapte|r will d|
|00004180| 65 6d 6f 6e 73 74 72 61 | 74 65 20 70 72 6f 67 72 |emonstra|te progr|
|00004190| 61 6d 73 20 74 68 61 74 | 20 64 72 61 77 20 77 69 |ams that| draw wi|
|000041a0| 74 68 20 6d 6f 74 69 6f | 6e 2e 0d 0d fc 00 48 01 |th motio|n.....H.|
|000041b0| cd 00 48 00 0e 05 74 f7 | ff 00 15 10 01 f7 50 61 |..H...t.|......Pa|
|000041c0| 72 74 20 49 49 3a 20 45 | 78 74 65 6e 64 69 6e 67 |rt II: E|xtending|
|000041d0| 20 41 63 63 65 73 73 69 | 62 69 6c 69 74 79 3a 20 | Accessi|bility: |
|000041e0| 42 75 69 6c 64 69 6e 67 | 20 43 75 73 74 6f 6d 20 |Building| Custom |
|000041f0| 50 61 6c 65 74 74 65 73 | ff 00 15 0a 00 f7 0d fc |Palettes|........|
|00004200| 00 6c 01 cd 00 6c 00 0e | 01 7c 05 74 f7 0d 49 66 |.l...l..|.|.t..If|
|00004210| 20 79 6f 75 20 62 75 69 | 6c 64 20 61 20 72 65 61 | you bui|ld a rea|
|00004220| 6c 6c 79 20 66 61 6e 74 | 61 73 74 69 63 20 6f 62 |lly fant|astic ob|
|00004230| 6a 65 63 74 2c 20 79 6f | 75 20 63 61 6e 20 73 68 |ject, yo|u can sh|
|00004240| 61 72 65 20 74 68 65 20 | 6f 62 6a 65 63 74 20 77 |are the |object w|
|00004250| 69 74 68 20 6f 74 68 65 | 72 20 70 72 6f 67 72 61 |ith othe|r progra|
|00004260| 6d 6d 65 72 73 20 75 73 | 69 6e 67 20 74 68 65 20 |mmers us|ing the |
|00004270| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 70 72 65 73 |informat|ion pres|
|00004280| 65 6e 74 65 64 20 75 70 | 20 74 6f 20 74 68 69 73 |ented up| to this|
|00004290| 20 70 6f 69 6e 74 2e 20 | 20 42 75 74 20 66 6f 72 | point. | But for|
|000042a0| 20 65 76 65 72 79 20 70 | 72 6f 67 72 61 6d 6d 65 | every p|rogramme|
|000042b0| 72 20 6f 75 74 20 74 68 | 65 72 65 20 74 68 65 72 |r out th|ere ther|
|000042c0| 65 20 63 6f 75 6c 64 20 | 62 65 20 31 30 30 20 6e |e could |be 100 n|
|000042d0| 6f 6e 2d 70 72 6f 67 72 | 61 6d 6d 65 72 73 20 74 |on-progr|ammers t|
|000042e0| 68 61 74 20 6d 69 67 68 | 74 20 62 65 20 61 62 6c |hat migh|t be abl|
|000042f0| 65 20 74 6f 20 75 73 65 | 20 79 6f 75 20 6f 62 6a |e to use| you obj|
|00004300| 65 63 74 20 69 66 20 69 | 74 20 63 6f 75 6c 64 20 |ect if i|t could |
|00004310| 62 65 20 61 63 63 65 73 | 65 64 20 66 72 6f 6d 20 |be acces|ed from |
|00004320| 61 20 22 70 6f 69 6e 74 | 2d 61 6e 64 2d 73 68 6f |a "point|-and-sho|
|00004330| 6f 74 22 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2e |ot" envi|ronment.|
|00004340| 20 20 54 68 69 73 20 63 | 68 61 70 74 65 72 20 63 | This c|hapter c|
|00004350| 6f 76 65 72 73 20 74 68 | 65 20 62 61 63 6b 67 72 |overs th|e backgr|
|00004360| 6f 75 6e 64 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |ound you| need to|
|00004370| 20 6d 61 6b 65 20 79 6f | 75 72 20 6f 62 6a 65 63 | make yo|ur objec|
|00004380| 74 73 20 61 63 63 65 73 | 73 69 62 6c 65 20 74 68 |ts acces|sible th|
|00004390| 72 6f 75 67 68 20 49 6e | 74 65 72 66 61 63 65 20 |rough In|terface |
|000043a0| 42 75 69 6c 64 65 72 2e | 0d 02 dd ff 00 15 0a 01 |Builder.|........|
|000043b0| f7 0d 31 39 2e 20 57 6f | 72 6b 69 6e 67 20 77 69 |..19. Wo|rking wi|
|000043c0| 74 68 20 53 74 72 65 61 | 6d 73 0d ff 00 15 0a 00 |th Strea|ms......|
|000043d0| f7 0d 41 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |..An exa|mple of |
|000043e0| 68 6f 77 20 74 6f 20 75 | 73 65 20 74 68 65 20 53 |how to u|se the S|
|000043f0| 74 72 65 61 6d 20 6c 69 | 62 72 61 72 79 20 74 6f |tream li|brary to|
|00004400| 20 72 65 61 64 20 61 6e | 64 20 77 72 69 74 65 20 | read an|d write |
|00004410| 74 6f 20 66 69 6c 65 73 | 2e 20 0d 0d ff 00 15 0a |to files|. ......|
|00004420| 01 f7 31 39 2e 20 41 72 | 63 68 69 76 69 6e 67 20 |..19. Ar|chiving |
|00004430| 4f 62 6a 65 63 74 73 3a | 20 54 79 70 65 64 20 53 |Objects:| Typed S|
|00004440| 74 72 65 61 6d 73 0d ff | 00 15 0a 00 f7 0d 41 66 |treams..|......Af|
|00004450| 74 65 72 20 53 74 72 65 | 61 6d 73 20 61 72 65 20 |ter Stre|ams are |
|00004460| 6d 61 73 74 65 72 65 64 | 20 77 65 20 77 69 6c 6c |mastered| we will|
|00004470| 20 6e 65 65 64 20 74 6f | 20 75 73 65 64 20 74 79 | need to| used ty|
|00004480| 70 65 64 20 73 74 72 65 | 61 6d 73 20 74 6f 20 72 |ped stre|ams to r|
|00004490| 65 61 64 20 61 6e 64 20 | 77 72 69 74 65 20 64 61 |ead and |write da|
|000044a0| 74 61 20 74 6f 20 6d 65 | 6d 6f 72 79 2e 0d 0d ff |ta to me|mory....|
|000044b0| 00 15 0a 01 f7 31 39 2e | 20 42 75 69 6c 64 69 6e |.....19.| Buildin|
|000044c0| 67 20 79 6f 75 72 20 6f | 77 6e 20 50 61 6c 65 74 |g your o|wn Palet|
|000044d0| 74 65 73 ff 00 15 0a 00 | f7 0d 0d 41 20 73 74 65 |tes.....|...A ste|
|000044e0| 70 20 62 79 20 73 74 65 | 70 20 64 65 73 63 72 69 |p by ste|p descri|
|000044f0| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 72 6f |ption of| the pro|
|00004500| 63 65 73 73 20 6f 66 20 | 6d 61 6b 69 6e 67 20 6f |cess of |making o|
|00004510| 62 6a 65 63 74 73 20 61 | 63 63 65 73 73 69 62 6c |bjects a|ccessibl|
|00004520| 65 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 70 61 |e throug|h the pa|
|00004530| 6c 65 74 74 65 20 69 6e | 74 65 72 66 61 63 65 2e |lette in|terface.|
|00004540| 20 20 54 68 65 20 67 61 | 75 67 65 73 20 61 6e 64 | The ga|uges and|
|00004550| 20 50 69 65 43 68 61 72 | 74 20 65 78 61 6d 70 6c | PieChar|t exampl|
|00004560| 65 73 20 61 72 65 20 75 | 73 65 64 2e 0d fc 00 4f |es are u|sed....O|
|00004570| 01 cd 00 4f 00 0e 01 7c | 05 74 f7 0d fc 00 6b 01 |...O...||.t....k.|
|00004580| cd 00 6b 00 0e 02 40 05 | 74 f7 ff 00 15 0a 01 f7 |..k...@.|t.......|
|00004590| 32 30 2e 20 42 75 69 6c | 64 69 6e 67 20 61 20 43 |20. Buil|ding a C|
|000045a0| 6f 6d 70 6c 65 74 65 20 | 50 72 6f 67 72 61 6d f9 |omplete |Program.|
|000045b0| 00 f7 ff 00 15 0a 00 f7 | 0d 0d 54 68 69 73 20 63 |........|..This c|
|000045c0| 68 61 70 74 65 72 20 63 | 6f 76 65 72 73 20 73 6f |hapter c|overs so|
|000045d0| 6d 65 20 6f 66 20 74 68 | 65 20 64 65 74 61 69 6c |me of th|e detail|
|000045e0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 66 6f 72 20 |s necess|ary for |
|000045f0| 63 6f 6d 70 6c 65 74 65 | 20 70 72 6f 67 72 61 6d |complete| program|
|00004600| 20 69 6e 63 6c 75 64 69 | 6e 67 20 61 73 73 69 67 | includi|ng assig|
|00004610| 6e 69 6e 67 20 61 6e 20 | 69 63 6f 6e 20 74 6f 20 |ning an |icon to |
|00004620| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2c |the appl|ication,|
|00004630| 20 61 73 73 69 67 6e 69 | 6e 67 20 61 6e 20 69 63 | assigni|ng an ic|
|00004640| 6f 6e 20 66 6f 72 20 64 | 61 74 61 20 66 69 6c 65 |on for d|ata file|
|00004650| 73 2c 20 63 72 65 61 74 | 69 6e 67 20 6f 6e 2d 6c |s, creat|ing on-l|
|00004660| 69 6e 65 20 68 65 6c 70 | 20 61 6e 64 20 75 73 69 |ine help| and usi|
|00004670| 6e 67 20 6d 75 6c 74 69 | 70 6c 65 20 6e 69 62 20 |ng multi|ple nib |
|00004680| 66 69 6c 65 73 2e 0d 0d | 01 08 fc 00 4f 01 cd 00 |files...|....O...|
|00004690| 4f 02 0e 01 7c 05 74 f7 | ff 00 15 16 01 f7 f5 f6 |O...|.t.|........|
|000046a0| 0d 0d 0d ff 00 15 24 01 | f7 4f 62 6a 65 63 74 20 |......$.|.Object |
|000046b0| 42 61 73 65 64 20 43 6f | 6d 70 75 74 69 6e 67 ff |Based Co|mputing.|
|000046c0| 00 15 16 01 f7 0d ff 00 | 15 18 01 f7 41 20 4e 65 |........|....A Ne|
|000046d0| 78 74 53 74 65 70 20 54 | 75 74 6f 72 69 61 6c 20 |xtStep T|utorial |
|000046e0| 61 6e 64 20 43 6f 6f 6b | 62 6f 6f 6b ff 00 15 16 |and Cook|book....|
|000046f0| 01 f7 0d 0d ff 00 15 0e | 00 f7 44 61 6e 20 4d 63 |........|..Dan Mc|
|00004700| 43 72 65 61 72 79 0d 53 | 79 73 74 65 6d 73 20 45 |Creary.S|ystems E|
|00004710| 6e 67 69 6e 65 65 72 2c | 20 4e 65 58 54 20 49 6e |ngineer,| NeXT In|
|00004720| 63 2e 0d 32 36 32 36 20 | 45 20 38 32 6e 64 20 41 |c..2626 |E 82nd A|
|00004730| 76 65 2e 20 53 75 69 74 | 65 20 33 32 35 0d 4d 69 |ve. Suit|e 325.Mi|
|00004740| 6e 6e 65 61 70 6f 6c 69 | 73 2c 20 4d 4e 20 35 35 |nneapoli|s, MN 55|
|00004750| 34 32 35 0d 44 61 6e 5f | 4d 63 43 72 65 61 72 79 |425.Dan_|McCreary|
|00004760| 40 4e 65 58 54 2e 63 6f | 6d ff 00 15 0e 01 f7 0d |@NeXT.co|m.......|
|00004770| 0d 56 65 72 73 69 6f 6e | 20 31 2e 36 ff 00 15 16 |.Version| 1.6....|
|00004780| 01 f7 0d fc 00 4f 01 cd | 00 4f 00 0e 01 7c 05 74 |.....O..|.O...|.t|
|00004790| f7 0d 03 d3 ff 00 15 16 | 01 f7 41 63 6b 6e 6f 77 |........|..Acknow|
|000047a0| 6c 65 64 67 65 6d 65 6e | 74 73 ff 00 15 0a 00 f7 |ledgemen|ts......|
|000047b0| 0d fc 00 4f 01 cd 00 4f | 00 0e 01 7c 05 74 f7 0d |...O...O|...|.t..|
|000047c0| fc 00 6c 01 cd 00 6c 00 | 0e 02 40 05 74 f7 46 69 |..l...l.|..@.t.Fi|
|000047d0| 72 73 74 20 61 6e 64 20 | 66 6f 72 65 6d 6f 73 74 |rst and |foremost|
|000047e0| 20 49 20 6d 75 73 74 20 | 74 68 61 6e 6b 20 6d 79 | I must |thank my|
|000047f0| 20 77 69 66 65 20 4e 61 | 6e 63 79 2c 20 66 6f 72 | wife Na|ncy, for|
|00004800| 20 68 65 72 20 73 75 70 | 70 6f 72 74 2c 20 65 6e | her sup|port, en|
|00004810| 63 6f 75 72 61 67 65 6d | 65 6e 74 2c 20 61 6e 64 |couragem|ent, and|
|00004820| 20 64 65 74 61 69 6c 65 | 64 20 65 64 69 74 69 6e | detaile|d editin|
|00004830| 67 2e 20 20 49 74 20 77 | 61 73 20 75 73 75 61 6c |g. It w|as usual|
|00004840| 6c 79 20 6f 75 72 20 74 | 69 6d 65 20 74 6f 67 65 |ly our t|ime toge|
|00004850| 74 68 65 72 20 74 68 61 | 74 20 73 75 66 66 65 72 |ther tha|t suffer|
|00004860| 65 64 20 62 65 63 61 75 | 73 65 20 6f 66 20 62 65 |ed becau|se of be|
|00004870| 63 61 75 73 65 20 6f 66 | 20 74 68 69 73 20 70 72 |cause of| this pr|
|00004880| 6f 6a 65 63 74 2e 0d 0d | 49 20 61 6d 20 64 65 65 |oject...|I am dee|
|00004890| 70 6c 79 20 69 6e 64 65 | 62 74 65 64 20 74 6f 20 |ply inde|bted to |
|000048a0| 6d 79 20 63 6f 6c 6c 65 | 67 65 73 20 77 69 74 68 |my colle|ges with|
|000048b0| 69 6e 20 4e 65 58 54 20 | 74 68 61 74 20 6d 61 64 |in NeXT |that mad|
|000048c0| 65 20 74 68 69 73 20 62 | 6f 6f 6b 20 70 6f 73 73 |e this b|ook poss|
|000048d0| 69 62 6c 65 2e 0d 46 69 | 72 73 74 2c 20 49 20 77 |ible..Fi|rst, I w|
|000048e0| 6f 75 6c 64 20 6c 69 6b | 65 20 74 6f 20 74 68 61 |ould lik|e to tha|
|000048f0| 6e 6b 20 47 72 65 67 20 | 53 6d 65 64 73 72 75 64 |nk Greg |Smedsrud|
|00004900| 20 77 68 6f 20 6d 61 64 | 65 20 6d 65 20 72 65 61 | who mad|e me rea|
|00004910| 6c 69 7a 65 20 74 68 61 | 74 20 61 20 67 6f 6f 64 |lize tha|t a good|
|00004920| 20 73 61 6c 65 73 6d 61 | 6e 20 69 73 20 61 20 67 | salesma|n is a g|
|00004930| 6f 6f 64 20 74 65 61 63 | 68 65 72 20 61 6e 64 20 |ood teac|her and |
|00004940| 61 20 67 6f 6f 64 20 74 | 65 61 63 68 65 72 20 69 |a good t|eacher i|
|00004950| 73 20 61 20 67 6f 6f 64 | 20 73 61 6c 65 73 6d 61 |s a good| salesma|
|00004960| 6e 2e 20 20 41 20 67 72 | 65 61 74 20 64 65 61 6c |n. A gr|eat deal|
|00004970| 20 6f 66 20 74 68 61 6e | 6b 73 20 67 6f 65 73 20 | of than|ks goes |
|00004980| 74 6f 20 44 61 76 65 20 | 53 74 75 74 7a 20 77 68 |to Dave |Stutz wh|
|00004990| 6f 27 73 20 6f 76 65 72 | 68 65 61 64 73 20 65 78 |o's over|heads ex|
|000049a0| 70 61 6e 64 65 64 20 6d | 79 20 72 65 61 6c 6d 20 |panded m|y realm |
|000049b0| 6f 66 20 74 68 6f 75 67 | 68 74 2c 20 77 68 6f 73 |of thoug|ht, whos|
|000049c0| 65 20 69 6e 69 74 69 61 | 6c 20 22 74 6f 79 22 20 |e initia|l "toy" |
|000049d0| 65 78 61 6d 70 6c 65 73 | 20 67 61 76 65 20 6d 65 |examples| gave me|
|000049e0| 20 65 6e 6f 75 67 68 20 | 63 6f 6e 66 69 64 65 6e | enough |confiden|
|000049f0| 63 65 20 74 6f 20 6b 65 | 65 70 20 74 72 79 69 6e |ce to ke|ep tryin|
|00004a00| 67 2c 20 61 6e 64 20 77 | 68 6f 20 61 6c 6c 6f 77 |g, and w|ho allow|
|00004a10| 65 64 20 6d 65 20 74 6f | 20 75 73 65 20 68 69 73 |ed me to| use his|
|00004a20| 20 70 68 72 61 73 65 20 | 22 4f 62 6a 65 63 74 20 | phrase |"Object |
|00004a30| 42 61 73 65 64 20 43 6f | 6d 70 75 74 69 6e 67 22 |Based Co|mputing"|
|00004a40| 20 61 73 20 74 68 65 20 | 74 69 74 6c 65 20 66 6f | as the |title fo|
|00004a50| 72 20 74 68 69 73 20 62 | 6f 6f 6b 2e 20 20 42 65 |r this b|ook. Be|
|00004a60| 72 72 79 20 53 69 6c 76 | 65 72 6d 61 6e 20 61 6c |rry Silv|erman al|
|00004a70| 73 6f 20 68 65 6c 70 65 | 64 20 77 69 74 68 20 65 |so helpe|d with e|
|00004a80| 61 72 6c 79 20 63 6f 6d | 6d 65 6e 74 73 20 6f 6e |arly com|ments on|
|00004a90| 20 74 79 70 6f 67 72 61 | 70 68 79 2e 20 49 20 77 | typogra|phy. I w|
|00004aa0| 6f 75 6c 64 20 6c 69 6b | 65 20 74 6f 20 74 68 61 |ould lik|e to tha|
|00004ab0| 6e 6b 20 42 6f 62 20 4c | 6f 6e 67 6f 20 77 68 6f |nk Bob L|ongo who|
|00004ac0| 20 74 61 75 67 68 74 20 | 6d 65 20 74 68 61 74 20 | taught |me that |
|00004ad0| 62 61 6c 61 6e 63 65 20 | 69 73 20 77 68 61 74 20 |balance |is what |
|00004ae0| 67 65 74 73 20 75 73 20 | 74 68 72 6f 75 67 68 20 |gets us |through |
|00004af0| 69 6e 20 74 68 65 20 6c | 6f 6e 67 20 72 75 6e 2e |in the l|ong run.|
|00004b00| 20 20 41 6e 64 20 66 69 | 6e 61 6c 6c 79 20 74 6f | And fi|nally to|
|00004b10| 20 53 74 65 76 65 20 4a | 6f 62 73 2c 20 77 68 6f | Steve J|obs, who|
|00004b20| 73 65 20 77 69 73 64 6f | 6d 20 6d 61 64 65 20 63 |se wisdo|m made c|
|00004b30| 6f 6d 70 75 74 65 72 73 | 20 6f 66 20 74 68 65 20 |omputers| of the |
|00004b40| 31 39 39 30 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |1990s av|ailable |
|00004b50| 74 6f 20 74 68 65 20 6d | 61 73 73 65 73 20 69 6e |to the m|asses in|
|00004b60| 20 31 39 38 38 2e 0d 01 | 73 0d 49 20 61 6c 73 6f | 1988...|s.I also|
|00004b70| 20 77 61 6e 74 20 74 6f | 20 74 68 61 6e 6b 20 74 | want to| thank t|
|00004b80| 68 65 20 66 61 63 75 6c | 74 79 2c 20 73 74 61 66 |he facul|ty, staf|
|00004b90| 66 20 61 6e 64 20 73 74 | 75 64 65 6e 74 73 20 61 |f and st|udents a|
|00004ba0| 74 20 74 68 65 20 69 6e | 73 74 69 74 75 74 69 6f |t the in|stitutio|
|00004bb0| 6e 73 20 61 72 6f 75 6e | 64 20 74 68 65 20 63 6f |ns aroun|d the co|
|00004bc0| 75 6e 74 72 79 20 77 68 | 6f 20 68 61 76 65 20 77 |untry wh|o have w|
|00004bd0| 6f 72 6b 65 64 20 77 69 | 74 68 20 6d 65 20 69 6e |orked wi|th me in|
|00004be0| 20 74 68 65 20 63 72 65 | 61 74 69 6f 6e 20 61 6e | the cre|ation an|
|00004bf0| 64 20 72 65 66 69 6e 65 | 6d 65 6e 74 20 6f 66 20 |d refine|ment of |
|00004c00| 74 68 69 73 20 62 6f 6f | 6b 2e 20 20 46 61 63 75 |this boo|k. Facu|
|00004c10| 6c 74 79 20 61 74 20 47 | 75 73 74 61 76 75 73 20 |lty at G|ustavus |
|00004c20| 41 64 6f 6c 70 68 75 73 | 20 43 6f 6c 6c 65 67 65 |Adolphus| College|
|00004c30| 2c 20 41 6c 6c 65 67 61 | 6e 79 20 43 6f 6c 6c 65 |, Allega|ny Colle|
|00004c40| 67 65 20 61 6e 64 20 52 | 6f 73 65 20 48 75 6c 6c |ge and R|ose Hull|
|00004c50| 6d 61 6e 20 64 65 73 65 | 72 76 65 20 73 70 65 63 |man dese|rve spec|
|00004c60| 69 61 6c 20 6d 65 6e 74 | 69 6f 6e 2e 20 20 57 69 |ial ment|ion. Wi|
|00004c70| 74 68 6f 75 74 20 74 68 | 65 69 72 20 66 65 65 64 |thout th|eir feed|
|00004c80| 62 61 63 6b 20 74 68 65 | 20 66 69 6e 61 6c 20 70 |back the| final p|
|00004c90| 72 6f 64 75 63 74 20 77 | 6f 75 6c 64 20 73 74 69 |roduct w|ould sti|
|00004ca0| 6c 6c 20 73 68 6f 77 20 | 6d 61 6e 79 20 6f 66 20 |ll show |many of |
|00004cb0| 74 68 65 20 65 61 72 6c | 79 20 74 68 65 20 72 6f |the earl|y the ro|
|00004cc0| 75 67 68 20 65 64 67 65 | 73 2e 0d fc 00 4f 01 cd |ugh edge|s....O..|
|00004cd0| 00 4f 00 0e 01 7c 05 74 | f7 0d 0d 0d 00 b4 64 00 |.O...|.t|......d.|
|00004ce0| 46 88 00 1a a6 00 0a b3 | 00 00 a7 00 02 0c 01 6c |F.......|.......l|
|00004cf0| 7c 00 11 f2 00 a8 64 00 | 14 df 01 71 74 00 18 13 ||.....d.|...qt...|
|00004d00| 01 ae 24 00 0b 09 00 9c | 85 00 04 84 00 00 0c 00 |..$.....|........|
|00004d10| 05 0f 00 8c 0c 00 02 22 | 00 70 0c 00 07 4c 00 c4 |......."|.p...L..|
|00004d20| 6c 00 1b d7 00 83 6c 00 | 1d d6 01 9b 6c 00 24 18 |l.....l.|....l.$.|
|00004d30| 00 e5 4c 00 28 46 00 1c | 0d 00 04 5d 02 44 6c 00 |..L.(F..|...].Dl.|
|00004d40| 28 58 00 62 6c 00 29 a4 | 01 19 6c 00 2e fb 00 c4 |(X.bl.).|..l.....|
|00004d50| 6c 00 32 0f 00 b2 6c 00 | 2d 53 00 70 24 00 0e 00 |l.2...l.|-S.p$...|
|00004d60| 00 ee 24 00 34 72 01 50 | 24 00 37 f2 00 9a 64 00 |..$.4r.P|$.7...d.|
|00004d70| 3a 22 01 63 24 00 3d 5b | 00 ee 64 00 40 4f 01 3e |:".c$.=[|..d.@O.>|
|00004d80| 64 00 43 a9 01 26 74 00 | 47 92 00 ec 44 00 4b 67 |d.C..&t.|G...D.Kg|
|00004d90| 00 7e 03 34 ff 00 15 0a | 01 f7 0d 31 39 2e 20 57 |.~.4....|...19. W|
|00004da0| 6f 72 6b 69 6e 67 20 77 | 69 74 68 20 53 74 72 65 |orking w|ith Stre|
|00004db0| 61 6d 73 0d ff 00 15 0a | 00 f7 0d 41 6e 20 65 78 |ams.....|...An ex|
|00004dc0| 61 6d 70 6c 65 20 6f 66 | 20 68 6f 77 20 74 6f 20 |ample of| how to |
|00004dd0| 75 73 65 20 74 68 65 20 | 53 74 72 65 61 6d 20 6c |use the |Stream l|
|00004de0| 69 62 72 61 72 79 20 74 | 6f 20 72 65 61 64 20 61 |ibrary t|o read a|
|00004df0| 6e 64 20 77 72 69 74 65 | 20 74 6f 20 66 69 6c 65 |nd write| to file|
|00004e00| 73 2e 20 0d 0d ff 00 15 | 0a 01 f7 31 39 2e 20 41 |s. .....|...19. A|
|00004e10| 72 63 68 69 76 69 6e 67 | 20 4f 62 6a 65 63 74 73 |rchiving| Objects|
|00004e20| 3a 20 54 79 70 65 64 20 | 53 74 72 65 61 6d 73 0d |: Typed |Streams.|
|00004e30| ff 00 15 0a 00 f7 0d 41 | 66 74 65 72 20 53 74 72 |.......A|fter Str|
|00004e40| 65 61 6d 73 20 61 72 65 | 20 6d 61 73 74 65 72 65 |eams are| mastere|
|00004e50| 64 20 77 65 20 77 69 6c | 6c 20 6e 65 65 64 20 74 |d we wil|l need t|
|00004e60| 6f 20 75 73 65 64 20 74 | 79 70 65 64 20 73 74 72 |o used t|yped str|
|00004e70| 65 61 6d 73 20 74 6f 20 | 72 65 61 64 20 61 6e 64 |eams to |read and|
|00004e80| 20 77 72 69 74 65 20 64 | 61 74 61 20 74 6f 20 6d | write d|ata to m|
|00004e90| 65 6d 6f 72 79 2e 0d 0d | ff 00 15 0a 01 f7 31 39 |emory...|......19|
|00004ea0| 2e 20 42 75 69 6c 64 69 | 6e 67 20 79 6f 75 72 20 |. Buildi|ng your |
|00004eb0| 6f 77 6e 20 50 61 6c 65 | 74 74 65 73 ff 00 15 0a |own Pale|ttes....|
|00004ec0| 00 f7 0d 0d 41 20 73 74 | 65 70 20 62 79 20 73 74 |....A st|ep by st|
|00004ed0| 65 70 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 6f |ep descr|iption o|
|00004ee0| 66 20 74 68 65 20 70 72 | 6f 63 65 73 73 20 6f 66 |f the pr|ocess of|
|00004ef0| 20 6d 61 6b 69 6e 67 20 | 6f 62 6a 65 63 74 73 20 | making |objects |
|00004f00| 61 63 63 65 73 73 69 62 | 6c 65 20 74 68 72 6f 75 |accessib|le throu|
|00004f10| 67 68 20 74 68 65 20 70 | 61 6c 65 74 74 65 20 69 |gh the p|alette i|
|00004f20| 6e 74 65 72 66 61 63 65 | 2e 20 20 54 68 65 20 67 |nterface|. The g|
|00004f30| 61 75 67 65 73 20 61 6e | 64 20 50 69 65 43 68 61 |auges an|d PieCha|
|00004f40| 72 74 20 65 78 61 6d 70 | 6c 65 73 20 61 72 65 20 |rt examp|les are |
|00004f50| 75 73 65 64 2e 0d fc 00 | 4f 01 cd 00 4f 00 0e 01 |used....|O...O...|
|00004f60| 7c 05 74 f7 0d fc 00 6b | 01 cd 00 6b 00 0e 02 40 ||.t....k|...k...@|
|00004f70| 05 74 f7 ff 00 15 0a 01 | f7 32 30 2e 20 42 75 69 |.t......|.20. Bui|
|00004f80| 6c 64 69 6e 67 20 61 20 | 43 6f 6d 70 6c 65 74 65 |lding a |Complete|
|00004f90| 20 50 72 6f 67 72 61 6d | f9 00 f7 ff 00 15 0a 00 | Program|........|
|00004fa0| f7 0d 0d 54 68 69 73 20 | 63 68 61 70 74 65 72 20 |...This |chapter |
|00004fb0| 63 6f 76 65 72 73 20 73 | 6f 6d 65 20 6f 66 20 74 |covers s|ome of t|
|00004fc0| 68 65 20 64 65 74 61 69 | 6c 73 20 6e 65 63 65 73 |he detai|ls neces|
|00004fd0| 73 61 72 79 20 66 6f 72 | 20 63 6f 6d 70 6c 65 74 |sary for| complet|
|00004fe0| 65 20 70 72 6f 67 72 61 | 6d 20 69 6e 63 6c 75 64 |e progra|m includ|
|00004ff0| 69 6e 67 20 61 73 73 69 | 67 6e 69 6e 67 20 61 6e |ing assi|gning an|
|00005000| 20 69 63 6f 6e 20 74 6f | 20 74 68 65 20 61 70 70 | icon to| the app|
|00005010| 6c 69 63 61 74 69 6f 6e | 2c 20 61 73 73 69 67 6e |lication|, assign|
|00005020| 69 6e 67 20 61 6e 20 69 | 63 6f 6e 20 66 6f 72 20 |ing an i|con for |
|00005030| 64 61 74 61 20 66 69 6c | 65 73 2c 20 63 72 65 61 |data fil|es, crea|
|00005040| 74 69 6e 67 20 6f 6e 2d | 6c 69 6e 65 20 68 65 6c |ting on-|line hel|
|00005050| 70 20 61 6e 64 20 75 73 | 69 6e 67 20 6d 75 6c 74 |p and us|ing mult|
|00005060| 69 70 6c 65 20 6e 69 62 | 20 66 69 6c 65 73 2e 20 |iple nib| files. |
|00005070| 20 41 20 44 69 73 6b 20 | 55 73 61 67 65 20 61 6e | A Disk |Usage an|
|00005080| 61 6c 69 7a 65 72 20 77 | 68 69 63 68 20 63 72 65 |alizer w|hich cre|
|00005090| 61 74 65 73 20 50 69 65 | 43 68 61 72 74 73 20 70 |ates Pie|Charts p|
|000050a0| 72 6f 67 72 61 6d 20 69 | 73 20 75 73 65 64 20 61 |rogram i|s used a|
|000050b0| 73 20 74 68 65 20 65 78 | 61 6d 70 6c 65 20 70 72 |s the ex|ample pr|
|000050c0| 6f 67 72 61 6d 2e 0d 0d | 00 b4 64 00 46 88 00 1a |ogram...|..d.F...|
|000050d0| a6 00 0a b3 00 00 a7 00 | 02 0c 01 6c 7c 00 11 f2 |........|...l|...|
|000050e0| 00 a8 64 00 14 df 01 71 | 74 00 18 13 01 ae 24 00 |..d....q|t.....$.|
|000050f0| 0b 09 00 9c 85 00 04 84 | 00 00 0c 00 05 0f 00 8c |........|........|
|00005100| 0c 00 02 22 00 70 0c 00 | 07 4c 00 c4 6c 00 1b d7 |...".p..|.L..l...|
|00005110| 00 83 6c 00 1d d6 01 9b | 6c 00 24 18 00 e5 4c 00 |..l.....|l.$...L.|
|00005120| 28 46 00 1c 0d 00 04 5d | 02 44 6c 00 28 58 00 62 |(F.....]|.Dl.(X.b|
|00005130| 6c 00 29 a4 01 19 6c 00 | 2e fb 00 c4 6c 00 32 0f |l.)...l.|....l.2.|
|00005140| 00 b2 6c 00 2d 53 00 70 | 24 00 0e 00 00 ee 24 00 |..l.-S.p|$.....$.|
|00005150| 34 72 01 50 24 00 37 f2 | 00 9a 64 00 3a 22 01 63 |4r.P$.7.|..d.:".c|
|00005160| 24 00 3d 5b 00 ee 64 00 | 40 4f 01 3e 64 00 4d 92 |$.=[..d.|@O.>d.M.|
|00005170| 01 34 74 00 47 92 00 ec | 44 00 4b 67 00 7e 02 70 |.4t.G...|D.Kg.~.p|
|00005180| 0d 54 68 69 73 20 63 68 | 61 70 74 65 72 20 64 65 |.This ch|apter de|
|00005190| 6d 6f 6e 73 74 72 61 74 | 65 73 20 68 6f 77 20 77 |monstrat|es how w|
|000051a0| 65 20 69 6e 69 74 69 61 | 6c 69 7a 65 20 64 61 74 |e initia|lize dat|
|000051b0| 61 20 77 69 74 68 69 6e | 20 61 20 76 69 65 77 20 |a within| a view |
|000051c0| 61 73 20 77 65 6c 6c 20 | 61 73 20 73 68 6f 77 20 |as well |as show |
|000051d0| 68 6f 77 20 77 65 20 63 | 61 6e 20 63 72 65 61 74 |how we c|an creat|
|000051e0| 65 20 22 77 72 61 70 73 | 22 20 66 6f 72 20 66 69 |e "wraps|" for fi|
|000051f0| 6c 65 73 20 77 69 74 68 | 20 50 6f 73 74 53 63 72 |les with| PostScr|
|00005200| 69 70 74 20 63 6f 6d 6d | 61 6e 64 73 2e 20 20 45 |ipt comm|ands. E|
|00005210| 78 61 6d 70 6c 65 73 20 | 61 72 65 20 70 72 65 73 |xamples |are pres|
|00005220| 65 6e 74 65 64 20 66 6f | 72 20 63 72 65 61 74 69 |ented fo|r creati|
|00005230| 6e 67 20 70 69 65 20 63 | 68 61 72 74 73 20 61 73 |ng pie c|harts as|
|00005240| 20 66 72 61 63 74 6c 65 | 20 74 72 65 65 73 2e 0d | fractle| trees..|
|00005250| 0d ff 00 15 0a 01 f7 31 | 30 2e 20 53 68 61 72 69 |.......1|0. Shari|
|00005260| 6e 67 20 4f 62 6a 65 63 | 74 73 3a 20 54 68 65 20 |ng Objec|ts: The |
|00005270| 67 75 61 67 65 20 65 78 | 61 6d 70 6c 65 ff 00 15 |guage ex|ample...|
|00005280| 0a 00 f7 0d 0d 54 68 69 | 73 20 63 68 61 70 74 65 |.....Thi|s chapte|
|00005290| 72 20 6d 6f 64 69 66 69 | 65 73 20 74 68 65 20 70 |r modifi|es the p|
|000052a0| 72 65 76 69 6f 75 73 20 | 70 72 6f 67 72 61 6d 20 |revious |program |
|000052b0| 61 67 61 69 6e 20 61 6e | 64 20 61 6c 6c 6f 77 73 |again an|d allows|
|000052c0| 20 75 73 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 | us to c|reate a |
|000052d0| 73 69 6d 70 6c 65 20 63 | 69 72 63 75 6c 61 72 20 |simple c|ircular |
|000052e0| 67 61 75 67 65 20 6f 62 | 6a 65 63 74 2e 20 20 4f |gauge ob|ject. O|
|000052f0| 6e 63 65 20 77 65 20 63 | 72 65 61 74 65 20 61 20 |nce we c|reate a |
|00005300| 73 69 6d 70 6c 65 20 6f | 62 6a 65 63 74 20 77 65 |simple o|bject we|
|00005310| 20 63 61 6e 20 72 65 2d | 75 73 65 20 69 74 2e 20 | can re-|use it. |
|00005320| 20 57 65 20 61 6c 73 6f | 20 73 68 6f 77 20 68 6f | We also| show ho|
|00005330| 77 20 77 65 20 63 61 6e | 20 75 73 65 20 69 6e 68 |w we can| use inh|
|00005340| 65 72 69 74 65 64 20 76 | 61 6c 75 65 73 20 73 75 |erited v|alues su|
|00005350| 63 68 20 61 73 20 74 68 | 65 20 56 69 65 77 27 73 |ch as th|e View's|
|00005360| 20 22 62 6f 75 6e 64 73 | 22 20 61 6e 64 20 61 6c | "bounds|" and al|
|00005370| 6c 6f 77 20 75 73 20 74 | 6f 20 74 72 61 6e 73 6c |low us t|o transl|
|00005380| 61 74 65 20 61 6e 64 20 | 72 6f 74 61 74 65 20 6f |ate and |rotate o|
|00005390| 75 72 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 73 79 |ur coord|inate sy|
|000053a0| 73 74 65 6d 20 74 6f 20 | 6d 61 6b 65 20 61 20 72 |stem to |make a r|
|000053b0| 6f 74 61 74 69 6e 67 20 | 67 61 75 67 65 20 65 61 |otating |gauge ea|
|000053c0| 73 69 65 72 2e 20 20 41 | 20 50 69 65 43 68 61 72 |sier. A| PieChar|
|000053d0| 74 20 65 78 61 6d 70 6c | 65 20 70 72 6f 67 72 61 |t exampl|e progra|
|000053e0| 6d 20 69 73 20 61 6c 73 | 6f 20 75 73 65 64 2e 0d |m is als|o used..|
|000053f0| 00 b4 64 00 46 88 00 1a | a6 00 0a b3 00 00 a7 00 |..d.F...|........|
|00005400| 02 0c 01 6c 7c 00 11 f2 | 00 a8 64 00 14 df 01 71 |...l|...|..d....q|
|00005410| 74 00 18 13 01 ae 24 00 | 0b 09 00 9c 85 00 04 84 |t.....$.|........|
|00005420| 00 00 0c 00 05 0f 00 8c | 0c 00 02 22 00 70 0c 00 |........|...".p..|
|00005430| 07 4c 00 c4 6c 00 1b d7 | 00 83 6c 00 1d d6 01 9b |.L..l...|..l.....|
|00005440| 6c 00 24 18 00 e5 4c 00 | 28 46 00 1c 0d 00 04 5d |l.$...L.|(F.....]|
|00005450| 02 44 6c 00 28 58 00 62 | 6c 00 29 a4 01 19 6c 00 |.Dl.(X.b|l.)...l.|
|00005460| 2e fb 00 c4 6c 00 32 0f | 00 b2 6c 00 2d 53 00 70 |....l.2.|..l.-S.p|
|00005470| 24 00 0e 00 00 ee 24 00 | 34 72 01 50 24 00 51 7e |$.....$.|4r.P$.Q~|
|00005480| 00 a8 64 00 3a 22 01 63 | 24 00 3d 5b 00 ee 64 00 |..d.:".c|$.=[..d.|
|00005490| 40 4f 01 3e 64 00 4d 92 | 01 34 74 00 47 92 00 ec |@O.>d.M.|.4t.G...|
|000054a0| 44 00 4b 67 00 7e 01 d0 | 0d 54 68 69 73 20 63 68 |D.Kg.~..|.This ch|
|000054b0| 61 70 74 65 72 20 64 65 | 6d 6f 6e 73 74 72 61 74 |apter de|monstrat|
|000054c0| 65 73 20 68 6f 77 20 77 | 65 20 69 6e 69 74 69 61 |es how w|e initia|
|000054d0| 6c 69 7a 65 20 64 61 74 | 61 20 77 69 74 68 69 6e |lize dat|a within|
|000054e0| 20 61 20 76 69 65 77 20 | 61 73 20 77 65 6c 6c 20 | a view |as well |
|000054f0| 61 73 20 73 68 6f 77 20 | 68 6f 77 20 77 65 20 63 |as show |how we c|
|00005500| 61 6e 20 63 72 65 61 74 | 65 20 22 77 72 61 70 73 |an creat|e "wraps|
|00005510| 22 20 66 6f 72 20 66 69 | 6c 65 73 20 77 69 74 68 |" for fi|les with|
|00005520| 20 50 6f 73 74 53 63 72 | 69 70 74 20 63 6f 6d 6d | PostScr|ipt comm|
|00005530| 61 6e 64 73 2e 20 20 45 | 78 61 6d 70 6c 65 73 20 |ands. E|xamples |
|00005540| 61 72 65 20 70 72 65 73 | 65 6e 74 65 64 20 66 6f |are pres|ented fo|
|00005550| 72 20 63 72 65 61 74 69 | 6e 67 20 70 69 65 20 63 |r creati|ng pie c|
|00005560| 68 61 72 74 73 20 61 73 | 20 66 72 61 63 74 6c 65 |harts as| fractle|
|00005570| 20 74 72 65 65 73 2e 0d | 0d ff 00 15 0a 01 f7 31 | trees..|.......1|
|00005580| 30 2e 20 4f 76 65 72 76 | 69 65 77 20 6f 66 20 74 |0. Overv|iew of t|
|00005590| 68 65 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 4b |he Appli|cation K|
|000055a0| 69 74 ff 00 15 0a 00 f7 | 0d 0d 54 68 69 73 20 63 |it......|..This c|
|000055b0| 68 61 70 74 65 72 20 67 | 69 76 65 73 20 61 20 62 |hapter g|ives a b|
|000055c0| 72 6f 61 64 20 6f 76 65 | 72 76 69 65 77 20 6f 66 |road ove|rview of|
|000055d0| 20 74 68 65 20 41 70 70 | 6c 69 63 61 74 69 6f 6e | the App|lication|
|000055e0| 20 4b 69 74 20 73 75 70 | 70 6c 69 65 64 20 61 73 | Kit sup|plied as|
|000055f0| 20 70 61 72 74 20 6f 66 | 20 4e 65 58 54 73 74 65 | part of| NeXTste|
|00005600| 70 2e 20 20 45 61 63 68 | 20 6f 66 20 74 68 65 20 |p. Each| of the |
|00005610| 67 65 6e 65 72 61 6c 20 | 63 6c 61 73 73 65 73 20 |general |classes |
|00005620| 69 73 20 62 72 69 65 66 | 6c 79 20 64 65 73 63 72 |is brief|ly descr|
|00005630| 69 62 65 64 20 61 6e 64 | 20 73 6f 6d 65 20 73 61 |ibed and| some sa|
|00005640| 6d 70 6c 65 73 20 63 61 | 73 65 73 20 6f 66 20 77 |mples ca|ses of w|
|00005650| 68 65 72 65 20 74 68 65 | 20 63 6c 61 73 73 65 73 |here the| classes|
|00005660| 20 61 72 65 20 75 73 65 | 64 20 69 73 20 64 69 73 | are use|d is dis|
|00005670| 63 75 73 73 65 64 2e 0d | 00 b4 64 00 46 88 00 1a |cussed..|..d.F...|
|00005680| a6 00 0a b3 00 00 a7 00 | 02 0c 01 6c 7c 00 11 f2 |........|...l|...|
|00005690| 00 a8 64 00 14 df 01 71 | 74 00 18 13 01 ae 24 00 |..d....q|t.....$.|
|000056a0| 0b 09 00 9c 85 00 04 84 | 00 00 0c 00 05 0f 00 8c |........|........|
|000056b0| 0c 00 02 22 00 70 0c 00 | 07 4c 00 c4 6c 00 1b d7 |...".p..|.L..l...|
|000056c0| 00 83 6c 00 1d d6 01 9b | 6c 00 24 18 00 e5 4c 00 |..l.....|l.$...L.|
|000056d0| 28 46 00 1c 0d 00 04 5d | 02 44 6c 00 28 58 00 62 |(F.....]|.Dl.(X.b|
|000056e0| 6c 00 29 a4 01 19 6c 00 | 2e fb 00 c4 6c 00 32 0f |l.)...l.|....l.2.|
|000056f0| 00 b2 6c 00 2d 53 00 70 | 24 00 0e 00 00 ee 24 00 |..l.-S.p|$.....$.|
|00005700| 34 72 01 50 24 00 54 a6 | 00 8c 64 00 3a 22 01 63 |4r.P$.T.|..d.:".c|
|00005710| 24 00 3d 5b 00 ee 64 00 | 40 4f 01 3e 64 00 4d 92 |$.=[..d.|@O.>d.M.|
|00005720| 01 34 74 00 47 92 00 ec | 44 00 4b 67 00 7e 03 83 |.4t.G...|D.Kg.~..|
|00005730| 0d 0d fc 00 48 01 cd 00 | 48 00 0e 05 74 f7 ff 00 |....H...|H...t...|
|00005740| 15 10 01 f7 50 61 72 74 | 20 49 49 3a 20 42 75 69 |....Part| II: Bui|
|00005750| 6c 64 69 6e 67 20 74 6f | 20 79 6f 75 72 20 4e 65 |lding to| your Ne|
|00005760| 78 74 53 74 65 70 20 56 | 6f 63 61 62 75 6c 61 72 |xtStep V|ocabular|
|00005770| 79 ff 00 15 0a 00 f7 0d | fc 00 6c 01 cd 00 6c 00 |y.......|..l...l.|
|00005780| 0e 01 7c 05 74 f7 0d 50 | 61 72 74 20 49 49 20 65 |..|.t..P|art II e|
|00005790| 78 70 61 6e 64 73 20 6f | 6e 20 74 68 65 20 69 6e |xpands o|n the in|
|000057a0| 74 72 6f 64 75 63 74 6f | 72 79 20 63 6f 6e 63 65 |troducto|ry conce|
|000057b0| 70 74 73 20 6c 65 61 72 | 6e 65 64 20 65 61 72 6c |pts lear|ned earl|
|000057c0| 69 65 72 20 62 79 20 67 | 69 76 69 6e 67 20 74 68 |ier by g|iving th|
|000057d0| 65 20 72 65 61 64 65 72 | 20 61 20 74 6f 75 72 20 |e reader| a tour |
|000057e0| 6f 66 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 41 70 |of addit|ional Ap|
|000057f0| 70 6c 69 63 61 74 69 6f | 6e 20 4b 69 74 20 6f 62 |plicatio|n Kit ob|
|00005800| 6a 65 63 74 73 2e 0d ff | 00 15 0a 01 f7 0d 31 31 |jects...|......11|
|00005810| 2e 20 55 73 69 6e 67 20 | 74 68 65 20 50 61 73 74 |. Using |the Past|
|00005820| 65 62 6f 61 72 64 0d ff | 00 15 0a 00 f7 0d 41 20 |eboard..|......A |
|00005830| 73 61 6d 70 6c 65 20 70 | 72 6f 67 72 61 6d 20 77 |sample p|rogram w|
|00005840| 68 69 63 68 20 61 6c 6c | 6f 77 73 20 74 68 65 20 |hich all|ows the |
|00005850| 75 73 65 72 20 74 6f 20 | 63 6f 70 79 20 67 72 61 |user to |copy gra|
|00005860| 70 68 69 63 73 20 69 6e | 74 6f 20 74 68 65 20 70 |phics in|to the p|
|00005870| 61 73 74 65 62 6f 61 72 | 64 2e 20 20 54 68 65 79 |asteboar|d. They|
|00005880| 20 63 61 6e 20 74 68 65 | 6e 20 62 65 20 70 61 73 | can the|n be pas|
|00005890| 74 65 64 20 64 69 72 65 | 63 74 6c 79 20 69 6e 74 |ted dire|ctly int|
|000058a0| 6f 20 74 68 65 20 57 72 | 69 74 65 4e 6f 77 20 77 |o the Wr|iteNow w|
|000058b0| 6f 72 64 20 70 72 6f 63 | 65 73 73 6f 72 20 6f 72 |ord proc|essor or|
|000058c0| 20 75 73 65 64 20 69 6e | 20 6f 74 68 65 72 20 70 | used in| other p|
|000058d0| 72 6f 67 72 61 6d 73 20 | 74 68 61 74 20 63 61 6e |rograms |that can|
|000058e0| 20 69 6e 63 6c 75 64 65 | 20 65 6e 63 61 70 73 75 | include| encapsu|
|000058f0| 6c 61 74 65 64 20 50 6f | 73 74 53 63 72 69 70 74 |lated Po|stScript|
|00005900| 2e 0d ff 00 15 0a 01 f7 | 0d 0d 31 32 2e 20 53 70 |........|..12. Sp|
|00005910| 65 61 6b 65 72 20 61 6e | 64 20 4c 69 73 74 65 6e |eaker an|d Listen|
|00005920| 65 72 3a 20 43 6f 6d 6d | 75 6e 69 63 61 74 69 6e |er: Comm|unicatin|
|00005930| 67 20 57 69 74 68 20 4f | 74 68 65 72 20 41 70 70 |g With O|ther App|
|00005940| 6c 69 63 61 74 69 6f 6e | 73 0d ff 00 15 0a 00 f7 |lication|s.......|
|00005950| 0d 54 68 69 73 20 63 68 | 61 70 74 65 72 20 73 68 |.This ch|apter sh|
|00005960| 6f 77 73 20 68 6f 77 20 | 74 6f 20 73 65 6e 64 20 |ows how |to send |
|00005970| 61 6e 64 20 72 65 63 65 | 69 76 65 20 6d 65 73 73 |and rece|ive mess|
|00005980| 61 67 65 73 20 74 6f 20 | 6f 74 68 65 72 20 73 74 |ages to |other st|
|00005990| 61 6e 64 61 72 64 20 61 | 70 70 6c 69 63 61 74 69 |andard a|pplicati|
|000059a0| 6f 6e 20 6b 69 74 20 6f | 62 6a 65 63 74 73 2e 20 |on kit o|bjects. |
|000059b0| 20 45 78 61 6d 70 6c 65 | 73 20 66 6f 72 20 61 64 | Example|s for ad|
|000059c0| 64 69 6e 67 20 73 65 72 | 76 69 63 65 73 2e 0d 0d |ding ser|vices...|
|000059d0| ff 00 15 0a 01 f7 31 33 | 2e 20 53 63 72 6f 6c 6c |......13|. Scroll|
|000059e0| 69 6e 67 20 56 69 65 77 | 73 0d ff 00 15 0a 00 f7 |ing View|s.......|
|000059f0| 0d 54 68 69 73 20 65 78 | 61 6d 70 6c 65 73 20 73 |.This ex|amples s|
|00005a00| 68 6f 77 73 20 68 6f 77 | 20 77 65 20 63 61 6e 20 |hows how| we can |
|00005a10| 65 61 73 69 6c 79 20 61 | 64 64 20 73 63 72 6f 6c |easily a|dd scrol|
|00005a20| 6c 69 6e 67 20 6b 6e 6f | 62 73 20 74 6f 20 61 20 |ling kno|bs to a |
|00005a30| 76 69 65 77 2e 20 20 57 | 65 20 63 61 6e 20 74 68 |view. W|e can th|
|00005a40| 65 6e 20 6d 61 6e 69 70 | 75 6c 61 74 65 20 76 69 |en manip|ulate vi|
|00005a50| 65 77 73 20 77 68 69 63 | 68 20 61 72 65 20 6c 61 |ews whic|h are la|
|00005a60| 72 67 65 72 20 74 68 65 | 6e 20 74 68 65 20 74 68 |rger the|n the th|
|00005a70| 65 20 73 63 72 65 65 6e | 20 61 72 65 61 20 74 68 |e screen| area th|
|00005a80| 65 79 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |ey are d|isplayed|
|00005a90| 20 69 6e 2e 0d 0d ff 00 | 15 0a 01 f7 31 34 2e 20 | in.....|....14. |
|00005aa0| 54 65 78 74 20 4f 62 6a | 65 63 74 73 ff 00 15 0a |Text Obj|ects....|
|00005ab0| 00 f7 0d 00 b4 64 00 46 | 88 00 1a a6 00 0a b3 00 |.....d.F|........|
|00005ac0| 00 a7 00 02 0c 01 6c 7c | 00 11 f2 00 a8 64 00 14 |......l||.....d..|
|00005ad0| df 01 71 74 00 18 13 01 | ae 24 00 0b 09 00 9c 85 |..qt....|.$......|
|00005ae0| 00 04 84 00 00 0c 00 05 | 0f 00 8c 0c 00 02 22 00 |........|......".|
|00005af0| 70 0c 00 07 4c 00 c4 6c | 00 1b d7 00 83 6c 00 1d |p...L..l|.....l..|
|00005b00| d6 01 9b 6c 00 24 18 00 | e5 4c 00 28 46 00 1c 0d |...l.$..|.L.(F...|
|00005b10| 00 04 5d 02 44 6c 00 28 | 58 00 62 6c 00 29 a4 01 |..].Dl.(|X.bl.)..|
|00005b20| 19 6c 00 2e fb 00 c4 6c | 00 32 0f 00 b2 6c 00 2d |.l.....l|.2...l.-|
|00005b30| 53 00 70 24 00 0e 00 00 | ee 24 00 34 72 01 50 24 |S.p$....|.$.4r.P$|
|00005b40| 00 54 a6 00 8c 64 00 57 | 2e 01 71 24 00 3d 5b 00 |.T...d.W|..q$.=[.|
|00005b50| ee 64 00 40 4f 01 3e 64 | 00 4d 92 01 34 74 00 47 |.d.@O.>d|.M..4t.G|
|00005b60| 92 00 ec 44 00 4b 67 00 | 7e 01 08 fc 00 4f 01 cd |...D.Kg.|~....O..|
|00005b70| 00 4f 02 0e 01 7c 05 74 | f7 ff 00 15 16 01 f7 f5 |.O...|.t|........|
|00005b80| f6 0d 0d 0d ff 00 15 24 | 01 f7 4f 62 6a 65 63 74 |.......$|..Object|
|00005b90| 20 42 61 73 65 64 20 43 | 6f 6d 70 75 74 69 6e 67 | Based C|omputing|
|00005ba0| ff 00 15 16 01 f7 0d ff | 00 15 18 01 f7 41 20 4e |........|.....A N|
|00005bb0| 65 78 74 53 74 65 70 20 | 54 75 74 6f 72 69 61 6c |extStep |Tutorial|
|00005bc0| 20 61 6e 64 20 43 6f 6f | 6b 62 6f 6f 6b ff 00 15 | and Coo|kbook...|
|00005bd0| 16 01 f7 0d 0d ff 00 15 | 0e 00 f7 44 61 6e 20 4d |........|...Dan M|
|00005be0| 63 43 72 65 61 72 79 0d | 53 79 73 74 65 6d 73 20 |cCreary.|Systems |
|00005bf0| 45 6e 67 69 6e 65 65 72 | 2c 20 4e 65 58 54 20 49 |Engineer|, NeXT I|
|00005c00| 6e 63 2e 0d 32 36 32 36 | 20 45 20 38 32 6e 64 20 |nc..2626| E 82nd |
|00005c10| 41 76 65 2e 20 53 75 69 | 74 65 20 33 32 35 0d 4d |Ave. Sui|te 325.M|
|00005c20| 69 6e 6e 65 61 70 6f 6c | 69 73 2c 20 4d 4e 20 35 |inneapol|is, MN 5|
|00005c30| 35 34 32 35 0d 44 61 6e | 5f 4d 63 43 72 65 61 72 |5425.Dan|_McCrear|
|00005c40| 79 40 4e 65 58 54 2e 63 | 6f 6d ff 00 15 0e 01 f7 |y@NeXT.c|om......|
|00005c50| 0d 0d 56 65 72 73 69 6f | 6e 20 31 2e 35 ff 00 15 |..Versio|n 1.5...|
|00005c60| 16 01 f7 0d fc 00 4f 01 | cd 00 4f 00 0e 01 7c 05 |......O.|..O...|.|
|00005c70| 74 f7 0d 00 b4 64 00 5b | 69 00 1a a6 00 0a b3 00 |t....d.[|i.......|
|00005c80| 00 a7 00 02 0c 01 6c 7c | 00 11 f2 00 a8 64 00 14 |......l||.....d..|
|00005c90| df 01 71 74 00 18 13 01 | ae 24 00 0b 09 00 9c 85 |..qt....|.$......|
|00005ca0| 00 04 84 00 00 0c 00 05 | 0f 00 8c 0c 00 02 22 00 |........|......".|
|00005cb0| 70 0c 00 07 4c 00 c4 6c | 00 1b d7 00 83 6c 00 1d |p...L..l|.....l..|
|00005cc0| d6 01 9b 6c 00 24 18 00 | e5 4c 00 28 46 00 1c 0d |...l.$..|.L.(F...|
|00005cd0| 00 04 5d 02 44 6c 00 28 | 58 00 62 6c 00 29 a4 01 |..].Dl.(|X.bl.)..|
|00005ce0| 19 6c 00 2e fb 00 c4 6c | 00 32 0f 00 b2 6c 00 2d |.l.....l|.2...l.-|
|00005cf0| 53 00 70 24 00 0e 00 00 | ee 24 00 34 72 01 50 24 |S.p$....|.$.4r.P$|
|00005d00| 00 54 a6 00 8c 64 00 57 | 2e 01 71 24 00 3d 5b 00 |.T...d.W|..q$.=[.|
|00005d10| ee 64 00 40 4f 01 3e 64 | 00 4d 92 01 34 74 00 47 |.d.@O.>d|.M..4t.G|
|00005d20| 92 00 ec 44 00 4b 67 00 | 7e 00 01 0d 00 56 ff 00 |...D.Kg.|~....V..|
|00005d30| 15 08 01 f7 0d 4f 62 6a | 65 63 74 20 42 61 73 65 |.....Obj|ect Base|
|00005d40| 64 20 43 6f 6d 70 75 74 | 69 6e 67 3a 20 41 20 4e |d Comput|ing: A N|
|00005d50| 65 78 74 53 74 65 70 20 | 54 75 74 6f 72 69 61 6c |extStep |Tutorial|
|00005d60| 20 61 6e 64 20 43 6f 6f | 6b 62 6f 6f 6b 20 20 2d | and Coo|kbook -|
|00005d70| 20 56 65 72 73 69 6f 6e | 20 31 2e 35 20 2d 20 44 | Version| 1.5 - D|
|00005d80| 47 4d 0d 0d 00 2b 50 61 | 67 65 20 30 2d fd 00 f7 |GM...+Pa|ge 0-...|
|00005d90| 20 20 20 20 50 72 65 66 | 61 63 65 20 20 20 20 20 | Pref|ace |
|00005da0| 50 72 69 6e 74 65 64 20 | 6f 6e 20 fd 01 f7 20 0d |Printed |on ... .|
|00005db0| 0d 00 34 fc 00 11 02 09 | 00 11 02 0e 01 7c 05 74 |..4.....|.....|.t|
|00005dc0| f7 ff 00 15 16 01 f7 f5 | fb 00 00 00 01 02 a5 01 |........|........|
|00005dd0| e0 57 4e 47 72 61 70 68 | 69 63 2e 39 39 38 31 33 |.WNGraph|ic.99813|
|00005de0| 32 2e 65 70 73 f7 0d 01 | 02 fc 00 4f 01 cd 00 4f |2.eps...|...O...O|
|00005df0| 02 0e 01 7c 05 74 f7 f5 | f6 0d 0d 0d ff 00 15 24 |...|.t..|.......$|
|00005e00| 01 f7 4f 62 6a 65 63 74 | 20 42 61 73 65 64 20 43 |..Object| Based C|
|00005e10| 6f 6d 70 75 74 69 6e 67 | ff 00 15 16 01 f7 0d ff |omputing|........|
|00005e20| 00 15 18 01 f7 41 20 4e | 65 78 74 53 74 65 70 20 |.....A N|extStep |
|00005e30| 54 75 74 6f 72 69 61 6c | 20 61 6e 64 20 43 6f 6f |Tutorial| and Coo|
|00005e40| 6b 62 6f 6f 6b ff 00 15 | 16 01 f7 0d 0d ff 00 15 |kbook...|........|
|00005e50| 0e 00 f7 44 61 6e 20 4d | 63 43 72 65 61 72 79 0d |...Dan M|cCreary.|
|00005e60| 53 79 73 74 65 6d 73 20 | 45 6e 67 69 6e 65 65 72 |Systems |Engineer|
|00005e70| 2c 20 4e 65 58 54 20 49 | 6e 63 2e 0d 32 36 32 36 |, NeXT I|nc..2626|
|00005e80| 20 45 20 38 32 6e 64 20 | 41 76 65 2e 20 53 75 69 | E 82nd |Ave. Sui|
|00005e90| 74 65 20 33 32 35 0d 4d | 69 6e 6e 65 61 70 6f 6c |te 325.M|inneapol|
|00005ea0| 69 73 2c 20 4d 4e 20 35 | 35 34 32 35 0d 44 61 6e |is, MN 5|5425.Dan|
|00005eb0| 5f 4d 63 43 72 65 61 72 | 79 40 4e 65 58 54 2e 63 |_McCrear|y@NeXT.c|
|00005ec0| 6f 6d ff 00 15 0e 01 f7 | 0d 0d 56 65 72 73 69 6f |om......|..Versio|
|00005ed0| 6e 20 31 2e 35 ff 00 15 | 16 01 f7 0d fc 00 4f 01 |n 1.5...|......O.|
|00005ee0| cd 00 4f 00 0e 01 7c 05 | 74 f7 0d 00 c0 65 00 5d |..O...|.|t....e.]|
|00005ef0| b1 02 aa a6 00 5d 29 00 | 00 74 00 5d e7 00 1a a6 |.....]).|.t.]....|
|00005f00| 00 5d 2c 00 00 a7 00 5d | 84 01 6c 7c 00 11 f2 00 |.],....]|..l|....|
|00005f10| a8 64 00 14 df 01 71 74 | 00 18 13 01 ae 24 00 0b |.d....qt|.....$..|
|00005f20| 09 00 9c 85 00 04 84 00 | 00 0c 00 05 0f 00 8c 0c |........|........|
|00005f30| 00 02 22 00 70 0c 00 07 | 4c 00 c4 6c 00 1b d7 00 |..".p...|L..l....|
|00005f40| 83 6c 00 1d d6 01 9b 6c | 00 24 18 00 e5 4c 00 28 |.l.....l|.$...L.(|
|00005f50| 46 00 1c 0d 00 04 5d 02 | 44 6c 00 28 58 00 62 6c |F.....].|Dl.(X.bl|
|00005f60| 00 29 a4 01 19 6c 00 2e | fb 00 c4 6c 00 32 0f 00 |.)...l..|...l.2..|
|00005f70| b2 6c 00 2d 53 00 70 24 | 00 0e 00 00 ee 24 00 34 |.l.-S.p$|.....$.4|
|00005f80| 72 01 50 24 00 54 a6 00 | 8c 64 00 57 2e 01 71 24 |r.P$.T..|.d.W..q$|
|00005f90| 00 3d 5b 00 ee 64 00 40 | 4f 01 3e 64 00 4d 92 01 |.=[..d.@|O.>d.M..|
|00005fa0| 34 74 00 47 92 00 ec 44 | 00 4b 67 00 7e 00 1e 04 |4t.G...D|.Kg.~...|
|00005fb0| 00 02 00 00 38 04 00 02 | 06 00 38 04 00 5d 29 00 |....8...|..8..]).|
|00005fc0| 0e 24 00 5d 2c 00 2a 04 | 00 5d 84 00 1c 00 35 fc |.$.],.*.|.]....5.|
|00005fd0| 00 11 02 09 00 11 02 0e | 01 7c 05 74 f7 ff 00 15 |........|.|.t....|
|00005fe0| 16 01 f7 f5 0d fb 00 00 | 00 01 02 88 01 b1 57 4e |........|......WN|
|00005ff0| 47 72 61 70 68 69 63 2e | 37 37 31 33 30 38 2e 65 |Graphic.|771308.e|
|00006000| 70 73 f7 0d 00 c0 65 00 | 5f cd 00 1a a6 00 5d 29 |ps....e.|_.....])|
|00006010| 02 8d 74 00 5d e7 00 1a | a6 00 5d 2c 00 00 a7 00 |..t.]...|..],....|
|00006020| 5d 84 01 70 7c 00 11 f2 | 00 a8 64 00 14 df 01 71 |]..p|...|..d....q|
|00006030| 74 00 18 13 01 af 24 00 | 0b 09 00 9b 85 00 04 84 |t.....$.|........|
|00006040| 00 00 0c 00 05 0f 00 8c | 0c 00 02 22 00 70 0c 00 |........|...".p..|
|00006050| 07 4c 00 c4 6c 00 1b d7 | 00 83 6c 00 1d d6 01 9b |.L..l...|..l.....|
|00006060| 6c 00 24 18 00 e5 4c 00 | 28 46 00 1c 0d 00 04 5d |l.$...L.|(F.....]|
|00006070| 02 44 6c 00 28 58 00 62 | 6c 00 29 a4 01 19 6c 00 |.Dl.(X.b|l.)...l.|
|00006080| 2e fb 00 c4 6c 00 32 0f | 00 b2 6c 00 2d 53 00 70 |....l.2.|..l.-S.p|
|00006090| 24 00 0e 00 00 ee 24 00 | 34 72 01 50 24 00 54 a6 |$.....$.|4r.P$.T.|
|000060a0| 00 8c 64 00 57 2e 01 71 | 24 00 3d 5b 00 ee 64 00 |..d.W..q|$.=[..d.|
|000060b0| 40 4f 01 3e 64 00 4d 92 | 01 34 74 00 47 92 00 ec |@O.>d.M.|.4t.G...|
|000060c0| 44 00 4b 67 00 7e | |D.Kg.~ | |
+--------+-------------------------+-------------------------+--------+--------+